Default navigation factory.

category Zend
package Zend_Navigation

 Methods

Create service

createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \Zend\Navigation\Navigation
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::createService()

Parameters

Returns

getName()

getName() : string

Returns

string

getPages()

getPages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : array
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::getPages()

Parameters

Exceptions

\Zend\Navigation\Exception\InvalidArgumentException

Returns

array

getPagesFromConfig()

getPagesFromConfig(string | \Zend\Config\Config | array $config) : array | null | \Zend\Config\Config
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::getPagesFromConfig()

Parameters

$config

string\Zend\Config\Configarray

Exceptions

\Zend\Navigation\Exception\InvalidArgumentException

Returns

injectComponents()

injectComponents(array $pages, \Zend\Mvc\Router\RouteMatch $routeMatch, \Zend\Mvc\Router\RouteStackInterface $router) : mixed
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::injectComponents()

Parameters

$pages

array

Returns

mixed

 Properties

 

$pages

$pages : array
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::$$pages