Zend\Navigation\Page\AbstractPage::getRel
Returns the page's forward links to other pages
This method returns an associative array of forward links to other pages, where each element's key is the name of the relation (e.g. alternate, prev, next, help, etc), and the value is a mixed value that could somehow be considered a page.
Signature
public function getRel([string
$relation = null] )
Parameters
$relation
— string- [optional] name of relation to return. If not
given, all relations will be returned.
Returns
- array
- an array of relations. If $relation is not
specified, all relations will be returned in an associative array.