WorkflowEmailMessageRecipientForm Class Reference

Inheritance diagram for WorkflowEmailMessageRecipientForm:
ConfigurableMetadataModel DynamicTriggeredByUserWorkflowEmailMessageRecipientForm DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm DynamicTriggeredModelUserWorkflowEmailMessageRecipientForm DynamicTriggeredModelWorkflowEmailMessageRecipientForm StaticAddressWorkflowEmailMessageRecipientForm StaticGroupWorkflowEmailMessageRecipientForm StaticRoleWorkflowEmailMessageRecipientForm StaticUserWorkflowEmailMessageRecipientForm

Public Member Functions

 makeRecipients (RedBeanModel $model, User $triggeredByUser)
 __construct ($modelClassName, $workflowType)
 rules ()

Static Public Member Functions

static getTypeLabel ()
static getFormType ()
static getTypeValuesAndLabels ($modelClassName, $workflowType)

Data Fields

const TYPE_DYNAMIC_TRIGGERED_MODEL_USER = 'DynamicTriggeredModelUser'
const TYPE_DYNAMIC_TRIGGERED_MODEL_RELATION_USER = 'DynamicTriggeredModelRelationUser'
const TYPE_STATIC_ROLE = 'StaticRole'
const TYPE_DYNAMIC_TRIGGERED_BY_USER = 'DynamicTriggeredByUser'
const TYPE_STATIC_USER = 'StaticUser'
const TYPE_STATIC_ADDRESS = 'StaticAddress'
const TYPE_STATIC_GROUP = 'StaticGroup'
const TYPE_DYNAMIC_TRIGGERED_MODEL = 'DynamicTriggeredModel'
const TYPE_DYNAMIC_TRIGGERED_MODEL_RELATION = 'DynamicTriggeredModelRelation'
 $type
 $audienceType

Protected Member Functions

 createWorkflowTriggerUserPrimaryEmailAddressRequiredNotificationForUser (User $user)

Protected Attributes

 $stringifiedModelForValue
 $modelClassName
 $workflowType

Detailed Description

Base class for working with email message recipients.

Definition at line 40 of file WorkflowEmailMessageRecipientForm.php.


Constructor & Destructor Documentation

__construct ( modelClassName,
workflowType 
)
Parameters:
string $modelClassName
string $workflowType

Definition at line 120 of file WorkflowEmailMessageRecipientForm.php.


Member Function Documentation

static getFormType (  )  [static]
Returns:
string - If the class name is DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm, then 'DynamicTriggeredModelRelationUser' will be returned.

Definition at line 109 of file WorkflowEmailMessageRecipientForm.php.

static getTypeValuesAndLabels ( modelClassName,
workflowType 
) [static]
Parameters:
string $modelClassName
string $workflowType
Returns:
array

Definition at line 146 of file WorkflowEmailMessageRecipientForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 24 07:10:32 2017