Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Latest commit

 

History

History
25 lines (18 loc) · 1.15 KB

zend.navigation.pages.uri.rst

File metadata and controls

25 lines (18 loc) · 1.15 KB

Zend\Navigation\Page\Uri

Pages of type Zend\Navigation\Page\Uri can be used to link to pages on other domains or sites, or to implement custom logic for the page. URI pages are simple; in addition to the common page options, a URI page takes only one option — uri. The uri will be returned when calling $page->getHref(), and may be a String or NULL.

Note

Zend\Navigation\Page\Uri will not try to determine whether it should be active when calling $page->isActive(). It merely returns what currently is set, so to make a URI page active you have to manually call $page->setActive() or specifying active as a page option when constructing.

URI page options
Key Type Default Description
uri String NULL URI to page. This can be any string or NULL.