protected function setTitleListSection($parent)
    {
        foreach ($this->route->getList() as $route) {
            if (isset($route['menu']['admin']) && isset($route['arguments']) && in_array($parent, $route['arguments'])) {
                $this->setTitle($route['menu']['admin']);
                break;
            }
        }
    }
protected function setTitleListSection($parent)
    {
        foreach ($this->route->getList() as $route) {
            if (isset($route['menu']['admin']) && isset($route['arguments']) && in_array($parent, $route['arguments'])) {
                $this->setTitle($route['menu']['admin']);
                break;
            }
        }
    }
protected function setTitleListSection ( $ parent ) { foreach ( $ this -> route -> getList ( ) as $ route ) { if ( isset ( $ route [ 'menu' ] [ 'admin' ] ) && isset ( $ route [ 'arguments' ] ) && in_array ( $ parent , $ route [ 'arguments' ] ) ) { $ this -> setTitle ( $ route [ 'menu' ] [ 'admin' ] ) ; break ; } } }
Sets titles on the admin section page
@param string $parent
Sets titles on the admin section page