BuilderContainerElement Class Reference

Inheritance diagram for BuilderContainerElement:
BaseBuilderTableWrappedElement BaseBuilderElement BuilderCanvasElement BuilderColumnElement BuilderRowElement BuilderHeaderRowElement BuilderHeaderImageTextElement

Static Public Member Functions

static isContainerType ()

Data Fields

const LAST_PARAM_KEY = 'last'

Protected Member Functions

 renderContentTab (ZurmoActiveForm $form)
 renderHiddenFields (ZurmoActiveForm $form)
 renderControlContentNonEditable ()
 resolveNestedElementsNonEditable ()
 findLastKeyInContentArray ()
 resolveElementByIdAndDataNonEditable ($id, array $elementData, array $elementParams)
 resolveNestedElementParamsById ($id, $lastKey, array $paramMapping)
 resolveNestedElementsParamsArray ()

Detailed Description

Definition at line 37 of file BuilderContainerElement.php.


Member Function Documentation

static isContainerType (  )  [static]

Return true for container type elements

Returns:
bool

Reimplemented from BaseBuilderElement.

Definition at line 44 of file BuilderContainerElement.php.

renderContentTab ( ZurmoActiveForm form  )  [protected]

Rendering and return content for Content tab.

Parameters:
ZurmoActiveForm $form
Returns:
string

Reimplemented from BaseBuilderElement.

Definition at line 49 of file BuilderContainerElement.php.

renderHiddenFields ( ZurmoActiveForm form  )  [protected]

Render and return any special hidden fields.

Parameters:
ZurmoActiveForm $form
Returns:
string

Reimplemented from BaseBuilderElement.

Definition at line 54 of file BuilderContainerElement.php.

renderControlContentNonEditable (  )  [protected]

Returns the non-editable output for current element.

Returns:
string

Reimplemented from BaseBuilderElement.

Reimplemented in BuilderRowElement.

Definition at line 61 of file BuilderContainerElement.php.

resolveNestedElementsNonEditable (  )  [protected]

Resolve and return nested elements non-editable

Returns:
string

Definition at line 71 of file BuilderContainerElement.php.

findLastKeyInContentArray (  )  [protected]

Find the last key if content array

Returns:
mixed

Definition at line 88 of file BuilderContainerElement.php.

resolveElementByIdAndDataNonEditable ( id,
array $  elementData,
array $  elementParams 
) [protected]

Resolve amd return an element non-editable when provided with id, its data and additional params.

Parameters:
$id 
array $elementData
array $elementParams
Returns:
string

Definition at line 100 of file BuilderContainerElement.php.

resolveNestedElementParamsById ( id,
lastKey,
array $  paramMapping 
) [protected]

Resolve and return any special params we would want to send to a nested element.

Parameters:
$id 
$lastKey 
Returns:
array

Definition at line 117 of file BuilderContainerElement.php.

resolveNestedElementsParamsArray (  )  [protected]

Resolve and return an array containing element params in key-value pairs with keys are indices inside the content array

Returns:
array

Reimplemented in BuilderRowElement.

Definition at line 137 of file BuilderContainerElement.php.


Field Documentation

const LAST_PARAM_KEY = 'last'

Key for storing whether this element is last in current container or not.

Definition at line 42 of file BuilderContainerElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Oct 18 07:10:22 2017