code/libraries/joomlatools/component/koowa/controller/model.php
protected function _actionRead(KControllerContextInterface $context)
    {
        //Request
        if($this->getIdentifier()->domain === 'admin')
        {
            if($this->isEditable() && KStringInflector::isSingular($this->getView()->getName()))
            {
                //Use JInput as we do not pass the request query back into the Joomla context
                JFactory::getApplication()->input->set('hidemainmenu', 1);
            }
        }

        return parent::_actionRead($context);
    }
protected function _actionRead(KControllerContextInterface $context)
    {
        //Request
        if($this->getIdentifier()->domain === 'admin')
        {
            if($this->isEditable() && KStringInflector::isSingular($this->getView()->getName()))
            {
                //Use JInput as we do not pass the request query back into the Joomla context
                JFactory::getApplication()->input->set('hidemainmenu', 1);
            }
        }

        return parent::_actionRead($context);
    }
protected function _actionRead ( KControllerContextInterface $ context ) { //Request if ( $ this -> getIdentifier ( ) -> domain === 'admin' ) { if ( $ this -> isEditable ( ) && KStringInflector :: isSingular ( $ this -> getView ( ) -> getName ( ) ) ) { //Use JInput as we do not pass the request query back into the Joomla context JFactory :: getApplication ( ) -> input -> set ( 'hidemainmenu' , 1 ) ; } } return parent :: _actionRead ( $ context ) ; }
Generic read action, fetches an item

@param  KControllerContextInterface $context A command context object
@throws KControllerExceptionResourceNotFound
@return KModelEntityInterface
Generic read action fetches an item