src/ExtDirect/ExtDirectResponse.php
protected function buildResponse()
    {
        $res = array();
        $res['type'] = $this->getParameters()->getType();
        $res['tid'] = $this->getParameters()->getTid();
        $res['action'] = $this->getParameters()->getAction();
        $res['method'] = $this->getParameters()->getMethod();
        $res['result'] = $this->getResult();

        return $res;
    }
protected function buildResponse()
    {
        $res = array();
        $res['type'] = $this->getParameters()->getType();
        $res['tid'] = $this->getParameters()->getTid();
        $res['action'] = $this->getParameters()->getAction();
        $res['method'] = $this->getParameters()->getMethod();
        $res['result'] = $this->getResult();

        return $res;
    }
protected function buildResponse ( ) { $ res = array ( ) ; $ res [ 'type' ] = $ this -> getParameters ( ) -> getType ( ) ; $ res [ 'tid' ] = $ this -> getParameters ( ) -> getTid ( ) ; $ res [ 'action' ] = $ this -> getParameters ( ) -> getAction ( ) ; $ res [ 'method' ] = $ this -> getParameters ( ) -> getMethod ( ) ; $ res [ 'result' ] = $ this -> getResult ( ) ; return $ res ; }
build a valid ext direct response and returns as array

@return array
build a valid ext direct response and returns as array