if ($previous =
$pager->
getPreviousPageURI()) { $links .= '<' .
$pager->
getPageURI($pager->
getFirstPage()) . '>; rel="first",';
$links .= '<' .
$previous . '>; rel="prev"';
} if (($next =
$pager->
getNextPageURI()) &&
$previous) { $links .= ',';
} if ($next) { $links .= '<' .
$next . '>; rel="next",';
$links .= '<' .
$pager->
getPageURI($pager->
getLastPage()) . '>; rel="last"';
} $this->
setHeader('Link',
$links);
return $this;
} /**
* Sets the Content Type header for this response with the mime type
* and, optionally, the charset.
*
* @return $this
*/