ZurmoSecurableItemApiController Class Reference

Inheritance diagram for ZurmoSecurableItemApiController:
ZurmoModuleApiController ZurmoBaseController Controller AccountsAccountApiController ApiTestModelItem2ApiController ApiTestModelItemApiController ContactsContactApiController 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.

Parameters:
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

Returns:
string

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 Thu May 25 07:10:31 2017