src/Samurai/Filter/ViewFilter.php
private function _getResultData()
    {
        $def = $this->actionChain->getCurrentAction();
        $result = $def['result'];
        if (is_string($result)) {
            return $this->getAttribute($result);
        } elseif (is_array($result)) {
            return array_pop($result);
        } else {
            return null;
        }
    }
private function _getResultData()
    {
        $def = $this->actionChain->getCurrentAction();
        $result = $def['result'];
        if (is_string($result)) {
            return $this->getAttribute($result);
        } elseif (is_array($result)) {
            return array_pop($result);
        } else {
            return null;
        }
    }
private function _getResultData ( ) { $ def = $ this -> actionChain -> getCurrentAction ( ) ; $ result = $ def [ 'result' ] ; if ( is_string ( $ result ) ) { return $ this -> getAttribute ( $ result ) ; } elseif ( is_array ( $ result ) ) { return array_pop ( $ result ) ; } else { return null ; } }
Get action result data.

@access  private
@return  mixed
Get action result data .