Public Member Functions | Public Attributes | Protected Attributes

AppModel Class Reference

BEdita base model classes. More...

Inheritance diagram for AppModel:
Addon BEAppModel DumpModel DumpModel Utility Alias Annotation BannedIp BEAppObjectModel BeditaExportFilter BeditaImportFilter BEObject Category Content DataTransfer DateItem EventLog GeoTag Group HashJob History LangText MailGroup MailGroupCard MailJob MailLog Module ObjectEditor ObjectProperty ObjectRelation ObjectType ObjectUser Permission PermissionModule Product Property PropertyOption RestClientModel SearchText SectionDummy SoapClientModel Stream Tree User UserProperty Version

List of all members.

Public Member Functions

 apiTransformer ($options=array())
 Return an array of column types to transform (cast) Used to build consistent REST APIs.

Public Attributes

 $actsAs = array('Containable')

Protected Attributes

 $apiTransformerOptions

Detailed Description

BEdita base model classes.

Definition at line 25 of file app_model.php.


Member Function Documentation

AppModel::apiTransformer ( options = array()  ) 

Return an array of column types to transform (cast) Used to build consistent REST APIs.

Possible options are:

  • 'castable' an array of fields that the REST APIs should cast to
Parameters:
array $options
Returns:
array

Definition at line 47 of file app_model.php.


Member Data Documentation

AppModel::$apiTransformerOptions [protected]
Initial value:
 array(
        'castable' => array('integer', 'float', 'double', 'date', 'datetime', 'boolean')
    )

Definition at line 33 of file app_model.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus