/** * Sets the configuration for performing an author search * * @return mixed */ public function searchAction() { $this->searchClassId = 'SolrAuthorFacets'; $this->saveToHistory = false; $this->rememberSearch = false; return parent::resultsAction(); }
/** * {$@inheritdoc} */ protected function getQuerySQL() { $sql = parent::getQuerySQL(); $startFrom = ($this->getPageNo() - 1) * $this->getTotalResultsPerPage(); $sql["limit"] = "limit " . $startFrom . ", " . $this->getTotalResultsPerPage(); return $sql; }
/** * Constructor */ public function __construct() { $this->searchClassId = 'Combined'; parent::__construct(); }
/** * Constructor */ public function __construct() { $this->searchClassId = 'WorldCat'; parent::__construct(); }
/** * @param AbstractSearch $search * @param int|null $limit */ protected function applyLimit(AbstractSearch $search, $limit) { if ($limit > 0) { $search->getQuery()->take($limit); } }
/** * Constructor */ public function __construct() { $this->searchClassId = 'Tags'; parent::__construct(); }
/** * Constructor */ public function __construct() { $this->searchClassId = 'SolrAuth'; parent::__construct(); }
/** * Constructor */ public function __construct() { $this->accessPermission = 'access.EITModule'; $this->searchClassId = 'EIT'; parent::__construct(); }
/** * Constructor */ public function __construct() { $this->searchClassId = 'SolrAuth'; $this->useResultScroller = false; parent::__construct(); }
/** * Constructor */ public function __construct() { $this->searchClassId = 'MixedList'; parent::__construct(); }