protected function loadController($class)
    {
        $controller = parent::loadController($class);
        $controller->layout = new View('layout');
        $controller->layout->title = 'PHPCI';
        $controller->layout->breadcrumb = array();

        return $controller;
    }
protected function loadController($class)
    {
        $controller = parent::loadController($class);
        $controller->layout = new View('layout');
        $controller->layout->title = 'PHPCI';
        $controller->layout->breadcrumb = array();

        return $controller;
    }
protected function loadController ( $ class ) { $ controller = parent :: loadController ( $ class ) ; $ controller -> layout = new View ( 'layout' ) ; $ controller -> layout -> title = 'PHPCI' ; $ controller -> layout -> breadcrumb = array ( ) ; return $ controller ; }
Loads a particular controller, and injects our layout view into it.
@param $class
@return mixed
Loads a particular controller and injects our layout view into it .