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

WorkflowRelationsAndAttributesToTreeAdapter Class Reference

Inheritance diagram for WorkflowRelationsAndAttributesToTreeAdapter:
WizardModelRelationsAndAttributesToTreeAdapter

Public Member Functions

 __construct (Workflow $workflow, $treeType)
 getData ($nodeId)

Protected Member Functions

 getChildrenNodeData (ModelRelationsAndAttributesToWorkflowAdapter $modelToWorkflowAdapter, RedBeanModel $precedingModel=null, $precedingRelation=null, $nodeIdPrefix=null)
 getAttributesData (ModelRelationsAndAttributesToWorkflowAdapter $modelToWorkflowAdapter, RedBeanModel $precedingModel=null, $precedingRelation=null)
 makeModelRelationsAndAttributesToWorkflowAdapter ($moduleClassName, $modelClassName)
 resolvePrecedingModelRelationAndAdapterByNodeId ($nodeId, &$modelToWorkflowAdapter, &$precedingModel, &$precedingRelation)

Protected Attributes

 $workflow

Detailed Description

Helper class for adapting relation and attribute data into tree data

Definition at line 40 of file WorkflowRelationsAndAttributesToTreeAdapter.php.


Constructor & Destructor Documentation

__construct ( Workflow workflow,
treeType 
)
Parameters:
Workflow $workflow
string $treeType

Definition at line 51 of file WorkflowRelationsAndAttributesToTreeAdapter.php.


Member Function Documentation

getData ( nodeId  ) 
Parameters:
string $nodeId
Returns:
array

Definition at line 62 of file WorkflowRelationsAndAttributesToTreeAdapter.php.

getChildrenNodeData ( ModelRelationsAndAttributesToWorkflowAdapter modelToWorkflowAdapter,
RedBeanModel precedingModel = null,
precedingRelation = null,
nodeIdPrefix = null 
) [protected]
Parameters:
ModelRelationsAndAttributesToWorkflowAdapter $modelToWorkflowAdapter
RedBeanModel $precedingModel
null|string $precedingRelation
null|string $nodeIdPrefix
Returns:
array
Exceptions:
NotSupportedException if one of the relations for the selectable data does not have a module class name defined

Definition at line 109 of file WorkflowRelationsAndAttributesToTreeAdapter.php.

getAttributesData ( ModelRelationsAndAttributesToWorkflowAdapter modelToWorkflowAdapter,
RedBeanModel precedingModel = null,
precedingRelation = null 
) [protected]
Parameters:
ModelRelationsAndAttributesToWorkflowAdapter $modelToWorkflowAdapter
RedBeanModel $precedingModel
null|string $precedingRelation
Returns:
array
Exceptions:
NotSupportedException if the treeType is invalid or null

Definition at line 152 of file WorkflowRelationsAndAttributesToTreeAdapter.php.

makeModelRelationsAndAttributesToWorkflowAdapter ( moduleClassName,
modelClassName 
) [protected]
Parameters:
string $moduleClassName
string $modelClassName
Returns:
ModelRelationsAndAttributesToWorkflowAdapter based object

Definition at line 170 of file WorkflowRelationsAndAttributesToTreeAdapter.php.

resolvePrecedingModelRelationAndAdapterByNodeId ( nodeId,
&$  modelToWorkflowAdapter,
&$  precedingModel,
&$  precedingRelation 
) [protected]
Parameters:
string $nodeId
ModelRelationsAndAttributesToWorkflowAdapter $modelToWorkflowAdapter
RedBeanModel $precedingModel
string $precedingRelation

Definition at line 184 of file WorkflowRelationsAndAttributesToTreeAdapter.php.


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