/** * Called as a plugin is registered to the registry * @param $category String Name of category plugin was registered to * @param $path string * @return boolean True iff plugin initialized successfully; if false, * the plugin will not be registered. */ function register($category, $path) { $success = parent::register($category, $path); $this->addLocaleData(); $this->import('Onix30ExportDeployment'); return $success; }
/** * @see PKPPlugin::register() */ function register($category, $path) { $success = parent::register($category, $path); $this->addLocaleData(); HookRegistry::register('AcronPlugin::parseCronTab', array($this, 'callbackParseCronTab')); return $success; }
/** * Called as a plugin is registered to the registry * @param $category String Name of category plugin was registered to * @return boolean True iff plugin initialized successfully; if false, * the plugin will not be registered. */ function register($category, $path) { import('classes.sword.OJSSwordDeposit'); $success = parent::register($category, $path); $this->addLocaleData(); return $success; }
/** * Called as a plugin is registered to the registry * @param $category String Name of category plugin was registered to * @return boolean True iff plugin initialized successfully; if false, * the plugin will not be registered. */ function register($category, $path) { $success = parent::register($category, $path); // Additional registration / initialization code // should go here. For example, load additional locale data: $this->addLocaleData(); // This is fixed to return false so that this coding sample // isn't actually registered and displayed. If you're using // this sample for your own code, make sure you return true // if everything is successfully initialized. // return $success; return false; }
/** * Called as a plugin is registered to the registry * @param $category String Name of category plugin was registered to * @return boolean True iff plugin initialized successfully; if false, * the plugin will not be registered. */ function register($category, $path) { $success = parent::register($category, $path); $this->addLocaleData(); return $success; }