public function getResponse()
    {
        $this->execute();
        
        switch ($this->def['dataType']) {
            case 'array':
                $result = static::toArray();
                break;
            case 'object':
            case 'json':
                $result = static::toJson();
                break;
            default:
                $result = $this->getErrorString() ? : $this->responseText;
        }
        
        return $result;
    }
public function getResponse()
    {
        $this->execute();
        
        switch ($this->def['dataType']) {
            case 'array':
                $result = static::toArray();
                break;
            case 'object':
            case 'json':
                $result = static::toJson();
                break;
            default:
                $result = $this->getErrorString() ? : $this->responseText;
        }
        
        return $result;
    }
public function getResponse ( ) { $ this -> execute ( ) ; switch ( $ this -> def [ 'dataType' ] ) { case 'array' : $ result = static :: toArray ( ) ; break ; case 'object' : case 'json' : $ result = static :: toJson ( ) ; break ; default : $ result = $ this -> getErrorString ( ) ? : $ this -> responseText ; } return $ result ; }
get resposne, return for dataType result
@return mixed
get resposne return for dataType result