Zend\View\Helper\Navigation\Links::renderLink
Renders the given $page as a link element, with $attrib = $relation
Signature
public function renderLink(AbstractPage
$page,
string
$attrib,
string
$relation )
Parameters
$page
—
Zend\Navigation\Page\AbstractPage
- the page to render the link for
$attrib
—
string
- the attribute to use for $type,
either 'rel' or 'rev'
$relation
—
string
- relation type, muse be one of;
alternate, appendix, bookmark,
chapter, contents, copyright,
glossary, help, home, index, next,
prev, section, start, stylesheet,
subsection
Returns
- string
Errors/Exceptions
-
DomainException
Line |
Task |
213 |
add more attribs |