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

WorkflowRules Class Reference

Inheritance diagram for WorkflowRules:
ModelToComponentRules AccountAccountAffiliationsWorkflowRules AccountContactAffiliationsWorkflowRules PermitableWorkflowRules SecuredWorkflowRules UsersWorkflowRules AccountsWorkflowRules ActivitiesWorkflowRules ContactsWorkflowRules OpportunitiesWorkflowRules ProductsWorkflowRules ProductTemplatesWorkflowRules ProjectsWorkflowRules WorkflowsTest2WorkflowRules WorkflowsTestWorkflowRules ZurmoWorkflowRules

Public Member Functions

 relationIsUsedAsAttribute (RedBeanModel $model, $relation)
 attributeCanBeTriggered (RedBeanModel $model, $attribute)
 getTriggerValueElementType (RedBeanModel $model, $attribute)

Static Public Member Functions

static getRulesName ()

Detailed Description

Base class of workflow rules that assist with workflow management. Extend this class to make a set of WorkflowRules that is for a specific module or a combination of modules and/or models.

Definition at line 41 of file WorkflowRules.php.


Member Function Documentation

static getRulesName (  )  [static]
Returns:
string|void

Reimplemented from ModelToComponentRules.

Definition at line 46 of file WorkflowRules.php.

relationIsUsedAsAttribute ( RedBeanModel model,
relation 
)

Some relations such as a CustomField are shown as non-related nodes in the workflow wizard. For a custom field this method would return true for example. Whereas account -> opportunities would return false.

Parameters:
RedBeanModel $model
$relation 
Returns:
bool

Definition at line 58 of file WorkflowRules.php.

attributeCanBeTriggered ( RedBeanModel model,
attribute 
)
Parameters:
RedBeanModel $model
$attribute 
Returns:
bool

Definition at line 86 of file WorkflowRules.php.

getTriggerValueElementType ( RedBeanModel model,
attribute 
)
Parameters:
RedBeanModel $model
string $attribute
Returns:
null | string

Definition at line 104 of file WorkflowRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jan 24 07:10:31 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