mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 02:54:26 +00:00
Add api_result::get_datas method
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user