Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
WorkflowRules Class Reference
Inheritance diagram for WorkflowRules:
ModelToComponentRules AccountAccountAffiliationsWorkflowRules AccountContactAffiliationsWorkflowRules CommentsWorkflowRules 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)
 
- Public Member Functions inherited from ModelToComponentRules
 getDerivedAttributeTypesData (RedBeanModel $model)
 
 getAvailableOperatorsTypes (RedBeanModel $model, $attribute)
 

Static Public Member Functions

static getRulesName ()
 
- Static Public Member Functions inherited from ModelToComponentRules
static getRulesName ()
 
static makeByModuleClassName ($moduleClassName)
 
static getMetadata ()
 
static setMetadata (array $metadata)
 
static getDefaultMetadata ()
 
static getVariableStateModuleLabel (User $user)
 
static canUserAccessModuleInAVariableState (User $user)
 
static resolveStateAdapterUserHasAccessTo (User $user)
 
static getVariableStateValuesForUser ($modelClassName, User $user)
 

Additional Inherited Members

- Static Protected Member Functions inherited from ModelToComponentRules
static assertMetadataIsValid (array $metadata)
 
- Protected Attributes inherited from ModelToComponentRules
 $modelClassName
 

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

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:
Generated on Sun Jul 12 2020 07:11:07
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.