public function isHome()
    {
        if ($this->isSingle()) {
            if (isset($this->containers['route_info'])) {
                $home_controller = 'index';
                $home_action = 'index';
                $home = $this->getHome();
                if ($home && isset($home['controller']) && isset($home['action']) && $home['controller'] && $home['action']) {
                    $home_controller = $home['controller'];
                    $home_action = $home['action'];
                }
                if ($this->containers['route_info']->get('controller') == $home_controller && $this->containers['route_info']->get('action') == $home_action) {
                    return true;
                }
            }
        }
        return false;
    }
public function isHome()
    {
        if ($this->isSingle()) {
            if (isset($this->containers['route_info'])) {
                $home_controller = 'index';
                $home_action = 'index';
                $home = $this->getHome();
                if ($home && isset($home['controller']) && isset($home['action']) && $home['controller'] && $home['action']) {
                    $home_controller = $home['controller'];
                    $home_action = $home['action'];
                }
                if ($this->containers['route_info']->get('controller') == $home_controller && $this->containers['route_info']->get('action') == $home_action) {
                    return true;
                }
            }
        }
        return false;
    }
public function isHome ( ) { if ( $ this -> isSingle ( ) ) { if ( isset ( $ this -> containers [ 'route_info' ] ) ) { $ home_controller = 'index' ; $ home_action = 'index' ; $ home = $ this -> getHome ( ) ; if ( $ home && isset ( $ home [ 'controller' ] ) && isset ( $ home [ 'action' ] ) && $ home [ 'controller' ] && $ home [ 'action' ] ) { $ home_controller = $ home [ 'controller' ] ; $ home_action = $ home [ 'action' ] ; } if ( $ this -> containers [ 'route_info' ] -> get ( 'controller' ) == $ home_controller && $ this -> containers [ 'route_info' ] -> get ( 'action' ) == $ home_action ) { return true ; } } } return false ; }
If is home
If is home