All Data Structures Functions Variables Pages
Public Member Functions | Static Protected Member Functions | Protected Attributes
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

Definition at line 58 of file ModelToArrayAdapter.php.

static resolveRetrievableAttributesByModel (   $model)

Return array of retrievable model attributes


Definition at line 111 of file ModelToArrayAdapter.php.

The documentation for this class was generated from the following file:
Generated on Sun Apr 5 2020 07:11:13