/** * URL for author * * @param Author $author * @return string url */ public function linkAuthor(Author $author) { $arrParams = $this->lateralLink(); $arrParams['field'] = 'author'; // we've defined a specific searchable string for this author, // so take that instead and make it quoted for exactness if ($author->search_string != "") { $arrParams['query'] = '"' . $author->search_string . '"'; } else { $arrParams['query'] = $author->getName(); } return $this->request->url_for($arrParams); }