SavedWorkflow Class Reference

Inheritance diagram for SavedWorkflow:
Item CustomFieldsModel RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static getByName ($name)
static canSaveMetadata ()
static getDefaultMetadata ()
static isTypeDeletable ()
static getModuleClassName ()
static getActiveByModuleClassNameAndIsNewModel ($moduleClassName, $isNewModel)
static getAllByModuleClassName ($moduleClassName)
static getGamificationRulesType ()

Static Protected Member Functions

static resolveExtraTriggerOnValueByIsNewModel ($isNewModel)

Detailed Description

Model to store information about a single workflow including time trigger, triggers, action, and email messages

Definition at line 41 of file SavedWorkflow.php.


Member Function Documentation

static getByName ( name  )  [static]
Parameters:
$name 
Returns:
Array of SavedWorkflow models that match the given name or an empty array if nothing matches

Reimplemented from Item.

Definition at line 47 of file SavedWorkflow.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 56 of file SavedWorkflow.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from Item.

Definition at line 64 of file SavedWorkflow.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from Item.

Definition at line 109 of file SavedWorkflow.php.

static getModuleClassName (  )  [static]
Returns:
null|string

Reimplemented from RedBeanModel.

Definition at line 117 of file SavedWorkflow.php.

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 125 of file SavedWorkflow.php.

static getActiveByModuleClassNameAndIsNewModel ( moduleClassName,
isNewModel 
) [static]
Parameters:
$moduleClassName 
$isNewModel 
Returns:
Array of SavedWorkflow models

Definition at line 139 of file SavedWorkflow.php.

static getAllByModuleClassName ( moduleClassName  )  [static]
Parameters:
$moduleClassName 
Returns:
Array of SavedWorkflow models

Definition at line 177 of file SavedWorkflow.php.

static getGamificationRulesType (  )  [static]
Returns:
string of gamificationRulesType Override for a child class as needed.

Reimplemented from Item.

Definition at line 195 of file SavedWorkflow.php.

static resolveExtraTriggerOnValueByIsNewModel ( isNewModel  )  [static, protected]
Parameters:
$isNewModel 
Returns:
string

Definition at line 204 of file SavedWorkflow.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Jul 21 07:10:29 2017