Zend\View\Helper\Navigation\Menu::htmlify
Returns an HTML string containing an 'a' element for the given page if the page's href is not empty, and a 'span' element if it is empty
Overrides .
Signature
public function htmlify(AbstractPage
$page,
[bool
$escapeLabel = true,
[bool
$addClassToListItem = false]] )
Parameters
$page
— Zend\Navigation\Page\AbstractPage- page to generate HTML for
$escapeLabel
— object- Whether or not to escape the label
$addClassToListItem
— object- Whether or not to add the page class to the list item
Returns
- string