|
|
Zend Framework 2 Documentation (Manual) | |
|
File: /_sources/modules/zend.navigation.pages.txt
Size: | 837 |
Storage flags: | no_autoload,compress/gzip (46%) |
.. _zend.navigation.pages:
Pages
=====
``Zend\Navigation`` ships with two page types:
- :ref:`MVC pages <zend.navigation.pages.mvc>` – using the class ``Zend\Navigation\Page\Mvc``
- :ref:`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>``).
.. include:: zend.navigation.pages.common.rst
.. include:: zend.navigation.pages.mvc.rst
.. include:: zend.navigation.pages.uri.rst
.. include:: zend.navigation.pages.custom.rst
.. include:: zend.navigation.pages.factory.rst
For more information about the PHK package format: http://phk.tekwire.net