Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ContactsContactStateApiController Class Reference

Inheritance diagram for ContactsContactStateApiController:
ZurmoModuleApiController ZurmoBaseController Controller

Public Member Functions

 getStateMetadataAdapterClassName ()
 actionCreate ()
 actionUpdate ()
 actionDelete ()
 actionListContactStates ()
 actionListLeadStates ()

Protected Member Functions

 getModelName ()
 sendStatesByLeadOrContact ($state= 'contact')

Static Protected Member Functions

static getSearchFormClassName ()

Detailed Description

Contact State API Controller

Definition at line 40 of file ContactStateApiController.php.


Member Function Documentation

getModelName (  )  [protected]

Get module primary model name

Reimplemented from ZurmoModuleApiController.

Definition at line 42 of file ContactStateApiController.php.

getStateMetadataAdapterClassName (  ) 

We cant use Module::getStateMetadataAdapterClassName() because that references to Contact model and we are using ContactState model.

Definition at line 56 of file ContactStateApiController.php.

actionCreate (  ) 

Create new model, and send response

Exceptions:
ApiException 

Reimplemented from ZurmoModuleApiController.

Definition at line 61 of file ContactStateApiController.php.

actionUpdate (  ) 

Update model and send response

Exceptions:
ApiException 

Reimplemented from ZurmoModuleApiController.

Definition at line 66 of file ContactStateApiController.php.

actionDelete (  ) 

Delete model and send response

Exceptions:
ApiException 

Reimplemented from ZurmoModuleApiController.

Definition at line 71 of file ContactStateApiController.php.

sendStatesByLeadOrContact ( state = 'contact'  )  [protected]

Get states by type.

Parameters:
string $state
Exceptions:
ApiException 

Definition at line 91 of file ContactStateApiController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8