/** * @see Plugin::register() */ function register($category, $path) { if (parent::register($category, $path)) { if ($this->getEnabled()) { HookRegistry::register('CatalogBookHandler::view', array($this, 'callback')); } return true; } return false; }
/** * @see Plugin::register() */ function register($category, $path) { if (parent::register($category, $path)) { if ($this->getEnabled()) { HookRegistry::register('Templates::Galley::displayGalley', array($this, 'callback')); } return true; } return false; }
/** * @see Plugin::register() */ function register($category, $path) { if (parent::register($category, $path)) { if ($this->getEnabled()) { HookRegistry::register('ArticleHandler::view::galley', array($this, 'articleCallback')); HookRegistry::register('IssueHandler::view::galley', array($this, 'issueCallback')); } return true; } return false; }