router, 'menu') && $this->router->menu && property_exists($this->router->menu, 'children')) { $menu = $this->router->menu->children; } } ?>