/** * Determine the plugin sequence. Overrides parent so that * the plugin will be displayed during install. */ function getSeq() { if (!Config::getVar('general', 'installed')) { return 2; } return parent::getSeq(); }
/** * Determine the plugin sequence. Overrides parent so that * the plugin will be displayed during install. * * @param $contextId int Context ID (journal/press) */ function getSeq($contextId = null) { if (!Config::getVar('general', 'installed')) { return 2; } return parent::getSeq($contextId); }
/** * @copydoc PKPPlugin::getSeq() */ function getSeq() { // Identify the position of the faceting block. $seq = parent::getSeq(); // If nothing has been configured then show the privacy // block after all other blocks in the context. if (!is_numeric($seq)) { $seq = 99; } return $seq; }
/** * @see Plugin::getSeq() */ function getSeq() { // Identify the position of the faceting block. $seq = parent::getSeq(); // If nothing has been configured then use the first // position. This is ok as we'll only display facets // in a search results context where they have a high // relevance by default. if (!is_numeric($seq)) { $seq = 0; } return $seq; }