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

Latest commit

 

History

History
19 lines (14 loc) · 837 Bytes

zend.navigation.pages.rst

File metadata and controls

19 lines (14 loc) · 837 Bytes

Pages

Zend\Navigation ships with two page types:

  • MVC pages <zend.navigation.pages.mvc> – using the class Zend\Navigation\Page\Mvc
  • URI pages <zend.navigation.pages.uri> – using the class Zend\Navigation\Page\Uri

MVC pages are link to on-site web pages, and are defined using MVC parameters (action, controller, route, params). URI pages are defined by a single property uri, which give you the full flexibility to link off-site pages or do other things with the generated links (e.g. an URI that turns into <a href="#">foo<a>).