/**
  * @internal
  */
 protected function getPages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator)
 {
     parent::getPages($serviceLocator);
     $id = array('id' => $serviceLocator->get('Request')->getQuery('id'));
     foreach ($this->pages as &$page) {
         $page['query'] = $id;
     }
     return $this->pages;
 }
예제 #2
0
 /**
  * @internal
  */
 protected function getPages(\Interop\Container\ContainerInterface $container)
 {
     parent::getPages($container);
     $name = array('name' => $container->get('Request')->getQuery('name'));
     foreach ($this->pages as &$page) {
         $page['query'] = $name;
     }
     return $this->pages;
 }