summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FisheyeBase.php4
-rw-r--r--FisheyeGallery.php3
-rw-r--r--FisheyeImage.php4
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';
+ }
}
?>