controller/behavior/resourceable.php
protected function _getController()
    {
        if (!$this->_controller instanceof KControllerInterface) {
            $this->_controller = $this->getObject($this->_controller);
        }

        return $this->_controller;
    }
protected function _getController()
    {
        if (!$this->_controller instanceof KControllerInterface) {
            $this->_controller = $this->getObject($this->_controller);
        }

        return $this->_controller;
    }
protected function _getController ( ) { if ( ! $ this -> _controller instanceof KControllerInterface ) { $ this -> _controller = $ this -> getObject ( $ this -> _controller ) ; } return $ this -> _controller ; }
Resource controller getter.

@return KControllerInterface The controller
Resource controller getter .