diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/album.php | 23 | ||||
-rw-r--r-- | lib/image.php | 23 |
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 |