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

WorkflowActionProcessingModelAdapter Class Reference

Public Member Functions

 __construct (RedBeanModel $model, User $triggeredByUser, RedBeanModel $triggeredModel=null)
 getModel ()
 getTriggeredModel ()
 getTriggeredByUser ()

Protected Attributes

 $model
 $triggeredByUser
 $triggeredModel

Detailed Description

Helper class using during workflow action processing. When processing an action, each action has a collection of attributes to set values on against the model. Sometimes the triggered model is different than the model being updated and is needed for reference. This adapter will also provide the information regarding the triggered user as well since this can be different than Yii::app()->user->userModel, since actions need to be processed with elevated privileges.

Definition at line 44 of file WorkflowActionProcessingModelAdapter.php.


Constructor & Destructor Documentation

__construct ( RedBeanModel model,
User triggeredByUser,
RedBeanModel triggeredModel = null 
)
Parameters:
RedBeanModel $model
User $triggeredByUser
RedBeanModel $triggeredModel

Definition at line 66 of file WorkflowActionProcessingModelAdapter.php.


Member Function Documentation

getModel (  ) 
Returns:
RedBeanModel

Definition at line 83 of file WorkflowActionProcessingModelAdapter.php.

getTriggeredModel (  ) 
Returns:
RedBeanModel

Definition at line 91 of file WorkflowActionProcessingModelAdapter.php.

getTriggeredByUser (  ) 
Returns:
User

Definition at line 99 of file WorkflowActionProcessingModelAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 18 07:11:05 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