Abstract navigation factory

 Methods

Create service

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

getName()

getName() : string

abstract

Returns

string

getPages()

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

getPagesFromConfig()

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

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, null | \Zend\Http\Request $request) : array

Parameters

$pages

array

$request

null\Zend\Http\Request

Returns

array

preparePages()

preparePages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, array | \Zend\Config\Config $pages) : null | array

 Properties

 

$pages

$pages : array