aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-21 22:42:39 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-21 22:42:39 +0000
commit6ce057f5162e18cd5190717145a13e7c29fe9da7 (patch)
tree0ce23ee020d366bd27892b0055fe7dc333520dc7 /lib
parent8a76d53f35eabe1b33f012e91fd745c1e0653203 (diff)
downloadelgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.gz
elgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.bz2
added in skeleton for image and album classes
Diffstat (limited to 'lib')
-rw-r--r--lib/album.php23
-rw-r--r--lib/image.php23
2 files changed, 46 insertions, 0 deletions
diff --git a/lib/album.php b/lib/album.php
new file mode 100644
index 000000000..7e03ed6eb
--- /dev/null
+++ b/lib/album.php
@@ -0,0 +1,23 @@
+<?php
+ /**
+ * Tidypics Album class
+ *
+ */
+
+
+ class TidypicsAlbum extends ElggObject
+ {
+ protected function initialise_attributes()
+ {
+ parent::initialise_attributes();
+
+ $this->attributes['subtype'] = "album";
+ }
+
+ public function __construct($guid = null)
+ {
+ parent::__construct($guid);
+ }
+ }
+
+?> \ No newline at end of file
diff --git a/lib/image.php b/lib/image.php
new file mode 100644
index 000000000..3a23a1932
--- /dev/null
+++ b/lib/image.php
@@ -0,0 +1,23 @@
+<?php
+ /**
+ * Tidypics Image class
+ *
+ */
+
+
+ class TidypicsImage extends ElggFile
+ {
+ protected function initialise_attributes()
+ {
+ parent::initialise_attributes();
+
+ $this->attributes['subtype'] = "image";
+ }
+
+ public function __construct($guid = null)
+ {
+ parent::__construct($guid);
+ }
+ }
+
+?> \ No newline at end of file