mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-11-03 20:54:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			528 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			528 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
 | 
						|
 | 
						|
namespace Icinga\Controllers;
 | 
						|
 | 
						|
use Icinga\Application\Icinga;
 | 
						|
use Icinga\Web\Controller\ActionController;
 | 
						|
 | 
						|
/**
 | 
						|
 * Create complex layout parts
 | 
						|
 */
 | 
						|
class LayoutController extends ActionController
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Render the menu
 | 
						|
     */
 | 
						|
    public function menuAction()
 | 
						|
    {
 | 
						|
        $this->setAutorefreshInterval(15);
 | 
						|
        $this->_helper->layout()->disableLayout();
 | 
						|
        $this->view->menuRenderer = Icinga::app()->getMenu()->getRenderer();
 | 
						|
    }
 | 
						|
}
 |