ZurmoSecurableItemApiController Class Reference

Inheritance diagram for ZurmoSecurableItemApiController:
ZurmoModuleApiController ZurmoBaseController Controller AccountsAccountApiController ApiTestModelItem2ApiController ApiTestModelItemApiController ContactsContactApiController EmailMessagesEmailMessageApiController LeadsContactApiController MeetingsMeetingApiController NotesNoteApiController OpportunitiesOpportunityApiController TasksTaskApiController

Protected Member Functions

 preAttemptToSaveModelFromDataHook (RedBeanModel $model, array &$data)

Static Protected Member Functions

static getModelToApiDataUtil ()

Detailed Description

Zurmo SecurableItem Api Controllers should extend this class to provide generic functionality that is applicable to all standard securable item api modules.

Definition at line 42 of file ZurmoSecurableItemApiController.php.

Member Function Documentation

preAttemptToSaveModelFromDataHook ( RedBeanModel model,
array &$  data 
) [protected]

Hook to alter $model or $data before we attempt to save it.

RedBeanModel $model
array $data

Reimplemented from ZurmoModuleApiController.

Definition at line 49 of file ZurmoSecurableItemApiController.php.

static getModelToApiDataUtil (  )  [static, protected]

Util used to convert model to array


Reimplemented from ZurmoModuleApiController.

Definition at line 65 of file ZurmoSecurableItemApiController.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Nov 18 07:11:07 2019