diff options
| author | spider <spider@bitweaver.org> | 2014-10-09 15:22:09 -0400 |
|---|---|---|
| committer | spider <spider@bitweaver.org> | 2014-10-09 15:22:09 -0400 |
| commit | 63097254385f94e30d69970eccb3940f18e96678 (patch) | |
| tree | 3880ae303b7a379234607c4629f71b1b6aecd995 | |
| parent | 2d33a6ae168f00a0e048762ddbdd57c5d18e10a9 (diff) | |
| download | fisheye-63097254385f94e30d69970eccb3940f18e96678.tar.gz fisheye-63097254385f94e30d69970eccb3940f18e96678.tar.bz2 fisheye-63097254385f94e30d69970eccb3940f18e96678.zip | |
add ::getServiceKey
| -rw-r--r-- | FisheyeBase.php | 4 | ||||
| -rw-r--r-- | FisheyeGallery.php | 3 | ||||
| -rw-r--r-- | FisheyeImage.php | 4 |
3 files changed, 10 insertions, 1 deletions
diff --git a/FisheyeBase.php b/FisheyeBase.php index b778ff5..1cdcb9c 100644 --- a/FisheyeBase.php +++ b/FisheyeBase.php @@ -11,11 +11,13 @@ require_once( LIBERTY_PKG_PATH.'LibertyMime.php' ); // FisheyeGallery base clas /** * @package fisheye */ -class FisheyeBase extends LibertyMime +abstract class FisheyeBase extends LibertyMime { // Path of gallery images to get breadcrumbs var $mGalleryPath; + abstract public static function getServiceKey(); + function FisheyeBase() { $this->mGalleryPath = ''; if( get_class( $this ) == 'fisheyegallery' ) { diff --git a/FisheyeGallery.php b/FisheyeGallery.php index b1984fd..e9cd557 100644 --- a/FisheyeGallery.php +++ b/FisheyeGallery.php @@ -1082,6 +1082,9 @@ class FisheyeGallery extends FisheyeBase { return '<i class="icon-camera"></i>'; } + public static function getServiceKey() { + return 'fisheye'; + } } function addGalleryRecursive( $pGalleryId , $pPath = '/', &$pZip ){ diff --git a/FisheyeImage.php b/FisheyeImage.php index 1b01a9a..6c7715c 100644 --- a/FisheyeImage.php +++ b/FisheyeImage.php @@ -890,6 +890,10 @@ class FisheyeImage extends FisheyeBase { } return $ret; } + + public static function getServiceKey() { + return 'fisheye'; + } } ?> |
