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


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


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 20 07:10:58 2020