*/ /** * The implementation of the Image Frame module * * @package ImageFrame */ class ImageFrameModule extends GalleryModule { function ImageFrameModule() { global $gallery; $this->setId('imageframe'); $this->setName($gallery->i18n('ImageFrame')); $this->setDescription($gallery->i18n('Render frames around images')); $this->setVersion('1.0.3'); $this->setGroup('display', $gallery->i18n('Display')); $this->setCallbacks(''); $this->setRequiredCoreApi(array(7, 0)); $this->setRequiredModuleApi(array(3, 0)); } /** * @see GalleryModule::performFactoryRegistrations() */ function performFactoryRegistrations() { $ret = GalleryCoreApi::registerFactoryImplementation( 'ImageFrameInterface_1_1', 'ImageFrameImpl', 'ImageFrame', 'modules/imageframe/classes/ImageFrameImpl.class', 'imageframe', null); if ($ret) { return $ret->wrap(__FILE__, __LINE__); } return null; } } ?>