/** * Get the base URL for search results (including ? parameter prefix). * * @return string Base URL * @access protected */ protected function getBaseUrl() { global $action; // Base URL is different for author searches: if ($this->searchType == 'collection') { return $this->serverUrl . "/Collection/" . $this->collectionID . "/" . $action . "?"; } // If none of the special cases were met, use the default from the parent: return parent::getBaseUrl(); }