code/controller/model.php
protected function _actionBrowse(ControllerContext $context)
    {
        $entity = $this->getModel()->fetch();

        //Set the entity in the context
        $context->setEntity($entity);

        return $entity;
    }
protected function _actionBrowse(ControllerContext $context)
    {
        $entity = $this->getModel()->fetch();

        //Set the entity in the context
        $context->setEntity($entity);

        return $entity;
    }
protected function _actionBrowse ( ControllerContext $ context ) { $ entity = $ this -> getModel ( ) -> fetch ( ) ; //Set the entity in the context $ context -> setEntity ( $ entity ) ; return $ entity ; }
Generic browse action, fetches an entity collection

@param   ControllerContextModel  $context A controller context object
@return  ModelEntityInterface An entity object containing the selected entities
Generic browse action fetches an entity collection