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

WizardModelRelationsAndAttributesToTreeAdapter Class Reference

Inheritance diagram for WizardModelRelationsAndAttributesToTreeAdapter:
ReportRelationsAndAttributesToTreeAdapter WorkflowRelationsAndAttributesToTreeAdapter CalendarReportRelationsAndAttributesToTreeAdapter MergeTagsReportRelationsAndAttributesToTreeAdapter

Public Member Functions

 getTreeType ()

Static Public Member Functions

static removeTreeTypeFromNodeId ($nodeId, $treeType)
static resolveInputPrefixData ($formModelClassName, $treeType, $rowNumber)
static resolveAttributeByNodeId ($nodeIdWithoutTreeType)

Protected Member Functions

 makeNodeId ($relation, $nodeIdPrefix=null)
 resolveTreeTypeForMakingOrExplodingNodeId ()
 resolveNodeIdPrefixByNodeId ($nodeId)
 resolveNodeIdByRemovingTreeType ($nodeId)

Protected Attributes

 $treeType

Detailed Description

Helper class for adapting relation and attribute data into tree data Extended by adapters in reporting and workflow

Definition at line 41 of file WizardModelRelationsAndAttributesToTreeAdapter.php.


Member Function Documentation

static removeTreeTypeFromNodeId ( nodeId,
treeType 
) [static]
See also:
ReportsDefaultController::actionAddAttributeFromTree for an example of where this is called from The nodeId has the treeType as a prefix in order to distinguish from other nodes in the user interface.
Parameters:
string $nodeId
string $treeType
Returns:
string nodeId without the prefixed treeType

Definition at line 55 of file WizardModelRelationsAndAttributesToTreeAdapter.php.

static resolveInputPrefixData ( formModelClassName,
treeType,
rowNumber 
) [static]
See also:
ReportsDefaultController::actionAddAttributeFromTree for an example of where this is called from
Parameters:
string $formModelClassName
string $treeType
integer $rowNumber
Returns:
array of input prefix parts. Excludes the last element which is typically an attribute since this is not part of the prefix for an Element. Adds in the formModelClassName, a treeType, and then the rowNumber as the first 2 elements.

Definition at line 72 of file WizardModelRelationsAndAttributesToTreeAdapter.php.

static resolveAttributeByNodeId ( nodeIdWithoutTreeType  )  [static]

Extracts the attribute which is the last part of the nodeId and

Returns:
the attribute string.
See also:
ReportsDefaultController::actionAddAttributeFromTree for an example of where this is called from
Parameters:
string $nodeIdWithoutTreeType
Returns:
string

Definition at line 90 of file WizardModelRelationsAndAttributesToTreeAdapter.php.

getTreeType (  ) 
Returns:
string

Definition at line 99 of file WizardModelRelationsAndAttributesToTreeAdapter.php.

makeNodeId ( relation,
nodeIdPrefix = null 
) [protected]
Parameters:
string $relation
null|string $nodeIdPrefix
Returns:
string

Definition at line 109 of file WizardModelRelationsAndAttributesToTreeAdapter.php.

resolveNodeIdPrefixByNodeId ( nodeId  )  [protected]
Parameters:
string $nodeId
Returns:
null|string

Definition at line 131 of file WizardModelRelationsAndAttributesToTreeAdapter.php.

resolveNodeIdByRemovingTreeType ( nodeId  )  [protected]
Parameters:
$nodeId 
Returns:
string

Definition at line 146 of file WizardModelRelationsAndAttributesToTreeAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 23 07:11:04 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