Add api_result::get_datas method

This commit is contained in:
Romain Neutron
2012-12-19 16:21:39 +01:00
parent b804911eab
commit a25c841391
2 changed files with 54 additions and 1 deletions

View File

@@ -159,6 +159,16 @@ class API_V1_result
return $this;
}
/**
* Return response data
*
* @return array
*/
public function get_datas()
{
return (array) $this->response;
}
/**
* Format the data and return serialized string
*