Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ApiRestTestHelper Class Reference

Static Public Member Functions

static createApiCall ($url, $method, $headers, $data=array())
static createXmlApiCall ($url, $method, $headers, $data=array())
static getModelAttributes (RedBeanModel $model)

Detailed Description

REST API helper class.

Definition at line 39 of file ApiRestTestHelper.php.


Member Function Documentation

static getModelAttributes ( RedBeanModel model  )  [static]

Helper function to get all model attributes as an array, that we can compare with responses from API.

Parameters:
OwnedSecurableItem $model
Returns:
array

Definition at line 58 of file ApiRestTestHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 21 07:10:21 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8