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

ModelToArrayAdapter Class Reference

Inheritance diagram for ModelToArrayAdapter:
ModelToExportAdapter RedBeanModelToApiDataUtil RedBeanModelToApiDataWithPermissionsUtil

Public Member Functions

 __construct ($model)
 getData ()

Static Protected Member Functions

static resolveRetrievableAttributesByModel ($model)

Protected Attributes

 $model

Detailed Description

Helper class used to convert models into arrays

Definition at line 40 of file ModelToArrayAdapter.php.


Member Function Documentation

getData (  ) 

Get model properties as array. return array

Reimplemented in RedBeanModelToApiDataWithPermissionsUtil, and ModelToExportAdapter.

Definition at line 58 of file ModelToArrayAdapter.php.

static resolveRetrievableAttributesByModel ( model  )  [static, protected]

Return array of retrievable model attributes

Returns:
array

Reimplemented in RedBeanModelToApiDataUtil.

Definition at line 111 of file ModelToArrayAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 21 07:10:26 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