* @version $Revision: 16029 $ */ class MultirootModule extends GalleryModule { function MultirootModule() { global $gallery; $this->setId('multiroot'); $this->setName($gallery->i18n('Multiroot')); $this->setDescription($gallery->i18n('Define an alternate guest view of the Gallery')); $this->setVersion('1.0.0'); $this->setGroup('display', $this->translate('Display')); $this->setCallbacks(''); $this->setRequiredCoreApi(array(7, 8)); $this->setRequiredModuleApi(array(3, 0)); } /** * @see GalleryModule::getConfigurationView */ function getConfigurationView() { return 'multiroot.ConfigureMultiroot'; } /** * @see GalleryModule::needsConfiguration */ function needsConfiguration() { return array(null, true); } /** * @see GalleryModule::autoConfigure */ function autoConfigure() { return array(null, false); } } ?>