All Data Structures Functions Variables Pages
Public Member Functions
ModelRelationsAndAttributesToByTimeWorkflowAdapter Class Reference
Inheritance diagram for ModelRelationsAndAttributesToByTimeWorkflowAdapter:
ModelRelationsAndAttributesToWorkflowAdapter

Public Member Functions

 getAttributesForTimeTrigger ()
 
 getSelectableRelationsData (RedBeanModel $precedingModel=null, $precedingRelation=null)
 
- Public Member Functions inherited from ModelRelationsAndAttributesToWorkflowAdapter
 getModel ()
 
 getModelClassName ()
 
 getRules ()
 
 __construct (RedBeanModel $model, WorkflowRules $rules, $workflowType, $moduleClassName=null)
 
 getAttributeLabel ($attribute)
 
 getRelationLabel ($relation)
 
 isUsedAsARelation ($relationOrAttribute)
 
 getRelationModuleClassName ($relation)
 
 getRelationModelClassName ($relation)
 
 getAttributesForTriggers ()
 
 getAttributesForTimeTrigger ()
 
 getAllAttributesForActions ()
 
 getRequiredAttributesForActions ()
 
 getNonRequiredAttributesForActions ()
 
 getAvailableOperatorsType ($attribute)
 
 getTriggerValueElementType ($attribute)
 
 getDisplayElementType ($attribute)
 
 getRealModelAttributeType ($attribute)
 
 getAllRelationsData ()
 
 getSelectableRelationsDataResolvedForUserAccess (User $user, Array $relations)
 
 getSelectableRelationsData (RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getAttributesIncludingDerivedAttributesData ()
 
 isRelationASingularRelation ($relation)
 
 getInferredRelationsData (RedBeanModel $precedingModel=null, $precedingRelation=null, $onlyIncludeThisModelClassName=null)
 
 getTriggerRulesByAttribute ($attribute, $ruleAttributeName)
 
 relationIsUsedAsAttribute ($relation)
 
 isDerivedRelationsViaCastedUpModelRelation ($relation)
 
 isInferredRelation ($relation)
 
 isDynamicallyDerivedAttribute ($attribute)
 
 isAttributeReadOptimization ($attribute)
 
 isDerivedAttribute ($attribute)
 
 getSelectableRelationsDataForTriggers (RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getSelectableRelationsDataForEmailMessageRecipientModelRelation ()
 
 getSelectableContactRelationsDataForEmailMessageRecipientModelRelation ()
 
 getSelectableRelationsDataForActionTypeRelation ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ModelRelationsAndAttributesToWorkflowAdapter
static make ($moduleClassName, $modelClassName, $workflowType)
 
static getInferredRelationModelClassName ($relation)
 
static resolveRealAttributeName ($attribute)
 
static isAttributeInferred ($attribute)
 
- Data Fields inherited from ModelRelationsAndAttributesToWorkflowAdapter
const DYNAMIC_ATTRIBUTE_USER = 'User'
 
const DYNAMIC_RELATION_INFERRED = 'Inferred'
 
- Protected Member Functions inherited from ModelRelationsAndAttributesToWorkflowAdapter
 getAttributesNotIncludingDerivedAttributesData ()
 
 resolveAttributesForActionsOrTimeTriggerData ($includeRequired=false, $includeNonRequired=false, $includeReadOnly=false)
 
 derivedRelationLinksToPrecedingRelation ($relationModelClassName, $opposingRelation, RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 inferredRelationLinksToPrecedingRelation ($inferredModelClassName, $relation, RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 relationLinksToPrecedingRelation ($relation, RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getDerivedRelationsViaCastedUpModelData (RedBeanModel $precedingModel=null, $precedingRelation=null, $onlyIncludeThisModelClassName=null)
 
 getDerivedAttributesData ()
 
 getDynamicallyDerivedAttributesData ()
 
 resolveDynamicallyDerivedAttributesForActionsOrTimeTriggerData ($includeRequired=false, $includeNonRequired=false, $includeReadOnly=false)
 
 getInferredRelationModelClassNamesForRelation ($relation)
 
 resolveRelationToSelectableRelationData (&$attributes, $attribute)
 
- Protected Attributes inherited from ModelRelationsAndAttributesToWorkflowAdapter
 $model
 
 $rules
 
 $workflowType
 
 $moduleClassName
 

Detailed Description

Helper class for managing adapting model relations and attributes into a by-time workflow rule

Definition at line 40 of file ModelRelationsAndAttributesToByTimeWorkflowAdapter.php.

Member Function Documentation

getAttributesForTimeTrigger ( )
Returns
sorted array

Definition at line 45 of file ModelRelationsAndAttributesToByTimeWorkflowAdapter.php.

getSelectableRelationsData ( RedBeanModel  $precedingModel = null,
  $precedingRelation = null 
)
Parameters
null  |  RedBeanModel$precedingModel
null  |  string$precedingRelation
Returns
array

Definition at line 59 of file ModelRelationsAndAttributesToByTimeWorkflowAdapter.php.


The documentation for this class was generated from the following file:
Generated on Mon May 25 2020 07:10:54