aboutsummaryrefslogtreecommitdiff
path: root/lib/image.php
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/image.php
parent8a76d53f35eabe1b33f012e91fd745c1e0653203 (diff)
downloadelgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.gz
elgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.bz2
added in skeleton for image and album classes
Diffstat (limited to 'lib/image.php')
-rw-r--r--lib/image.php23
1 files changed, 23 insertions, 0 deletions
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