All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields | Protected Member Functions
BuilderContainerElement Class Reference
Inheritance diagram for BuilderContainerElement:
BaseBuilderTableWrappedElement BaseBuilderElement BuilderCanvasElement BuilderColumnElement BuilderRowElement BuilderHeaderRowElement BuilderHeaderImageTextElement

Static Public Member Functions

static isContainerType ()
 
- Static Public Member Functions inherited from BaseBuilderTableWrappedElement
static isUiAccessible ()
 
- Static Public Member Functions inherited from BaseBuilderElement
static isUIAccessible ()
 
static resolveDroppableWidget ($widgetWrapper= 'li')
 
static isContainerType ()
 
static getModelClassName ()
 
static getPropertiesSuffixMappedArray ()
 

Data Fields

const LAST_PARAM_KEY = 'last'
 
- Data Fields inherited from BaseBuilderElement
const OVERLAY_ACTION_MOVE = 'action-move'
 
const OVERLAY_ACTION_EDIT = 'action-edit'
 
const OVERLAY_ACTION_DELETE = 'action-delete'
 
const OVERLAY_ACTIONS_CONTAINER_CLASS = 'builder-element-toolbar'
 
const BUILDER_ELEMENT_CELL_DROPPABLE_CLASS = 'builder-element-cell-droppable'
 
const BUILDER_ELEMENT_SORTABLE_ELEMENTS_CLASS = 'sortable-elements'
 
const BUILDER_ELEMENT_SORTABLE_ROWS_CLASS = 'sortable-rows'
 

Protected Member Functions

 renderContentTab (ZurmoActiveForm $form)
 
 renderHiddenFields (ZurmoActiveForm $form)
 
 renderControlContentNonEditable ()
 
 resolveNestedElementsNonEditable ()
 
 findLastKeyInContentArray ()
 
 resolveElementByIdAndDataNonEditable ($id, array $elementData, array $elementParams)
 
 resolveNestedElementParamsById ($id, $lastKey, array $paramMapping)
 
 resolveNestedElementsParamsArray ()
 
- Protected Member Functions inherited from BaseBuilderTableWrappedElement
 resolveWrapperNonEditableByContentAndProperties ($content, array $customDataAttributes)
 
 resolveWrapperCenterNonEditableByContent ($content)
 
 resolveWrapperTdNonEditableByContent ($content)
 
 resolveWrapperTrNonEditableByContent ($content)
 
 resolveWrapperTBodyNonEditableByContent ($content)
 
 resolveWrapperTableNonEditableByContentAndHtmlOptions ($content, array $customDataAttributes)
 
 resolveNonEditableWrapperOptions (array $customDataAttributes)
 
 resolveNonEditableContentWrappingTdHtmlOptions ()
 
 resolveNonEditableContentWrappingTdOptions ()
 
 resolveFrontendPropertiesForWrappingTdNonEditable ()
 
- Protected Member Functions inherited from BaseBuilderElement
 doesNotSupportEditable ()
 
 registerNonEditableSnippets ()
 
 registerNonEditableScripts ()
 
 registerNonEditableCss ()
 
 renderControlContentNonEditable ()
 
 renderControlWrapperNonEditable ($elementContent= '{{dummyContent}}')
 
 resolveWrapperNonEditable ($elementContent, array $customDataAttributes, $actionsOverlay)
 
 wrapNonEditableElementContent ($content)
 
 resolveNonEditableElementWrapperHtmlOptions ()
 
 resolveWrapperNonEditableByContentAndProperties ($content, array $customDataAttributes)
 
 resolveFrontendPropertiesNonEditable ()
 
 resolveInlineStylePropertiesNonEditable (array &$mergedProperties)
 
 resolveInlineStylesForNonEditable (array &$mergedProperties)
 
 resolveInlineStylesFromBackendPropertiesNonEditable (array &$mergedProperties)
 
 resolveInlineStylesForBorderDirectionNegationFromBackendPropertiesNonEditable (array &$mergedProperties)
 
 stringifyProperties (array $properties, $keyPrefix=null, $keySuffix=null, $valuePrefix=null, $valueSuffix=null)
 
 stringifyArray (array $array, $keyPrefix=null, $keySuffix=null, $valuePrefix=null, $valueSuffix=null)
 
 resolveCustomDataAttributesNonEditable ()
 
 resolveNonEditableActions ()
 
 resolveNonEditableActionsHtmlOptions ()
 
 resolveAvailableNonEditableActionLinkContent ()
 
 resolveAvailableNonEditableActionLinkSpan ($action)
 
 resolveAvailableNonEditableActionsArray ()
 
 resolveNonEditableWrapperHtmlOptions ()
 
 resolveNonEditableWrapperOptions (array $customDataAttributes)
 
 renderFormContent ()
 
 renderModalContainer ($form)
 
 renderFormInputsContent (ZurmoActiveForm $form)
 
 renderContentTab (ZurmoActiveForm $form)
 
 wrapEditableContentFormContentInTable ($content)
 
 resolveFormTitle ()
 
 resolveFormatterFormTitle ()
 
 resolveActiveFormClassName ()
 
 resolveActiveFormOptions ()
 
 resolveFormId ()
 
 resolveFormActionUrl ()
 
 renderHiddenFields (ZurmoActiveForm $form)
 
 renderHiddenField ($attributeName, $value)
 
 renderWrappedContentAndSettingsTab ($contentTab, $settingsTab)
 
 renderContentTabLabel ()
 
 renderSettingsTabLabel ()
 
 registerTabbedContentScripts ()
 
 renderFormActionLinks ()
 
 renderBackLink ()
 
 resolveBackLinkHtmlOptions ()
 
 resolveBackLinkId ()
 
 renderBackLinkLabel ()
 
 renderApplyLink ()
 
 resolveApplyLinkHtmlOptions ()
 
 resolveApplyLinkId ()
 
 renderApplyLinkLabel ()
 
 registerActiveFormScripts ()
 
 registerApplyClickScript ()
 
 getAjaxScriptForInitSortableElements ()
 
 registerBackScript ()
 
 registerHideFormScript ()
 
 resolveEnableAjaxValidation ()
 
 resolveFormClientOptions ()
 
 renderConfigSaveAjax ()
 
 resolveAjaxPostForApplyClickAjaxOptions ()
 
 resolveFormHtmlOptions ()
 
 resolveActiveFormCustomOptions ()
 
 renderBeforeFormLayout (ZurmoActiveForm $form)
 
 renderAfterFormLayout (ZurmoActiveForm $form)
 
 generateId ()
 
 resolveDefaultProperties ()
 
 resolveDefaultParams ()
 
 initId ($id=null)
 
 initProperties ($properties=null)
 
 cleanUpProperties ()
 
 initContent ($content=null)
 
 initParams ($params=null)
 
 initModel ()
 
 getModel ()
 
 renderContentElement (ZurmoActiveForm $form=null)
 
 resolveContentElementEditableTemplate (Element $element)
 
 resolveContentElementNonEditableTemplate (Element $element)
 
 resolveContentElementParams ()
 
 resolveDefaultElementParamsForEditableForm ($label= '')
 
 resolveDefaultContent ()
 
 renderSettingsTab (ZurmoActiveForm $form)
 
 resolveContentElementClassName ()
 
 resolveContentElementAttributeName ()
 
 getRules ()
 
 validateInteger ($value)
 
 validateUrl ($value)
 
 sanitizeProperties (array &$properties)
 

Additional Inherited Members

- Public Member Functions inherited from BaseBuilderElement
 __construct ($renderForCanvas=false, $id=null, $properties=null, $content=null, $params=null)
 
 renderNonEditable ()
 
 renderEditable ()
 
 getId ()
 
 getContent ($serialized=false)
 
 getProperties ($serialized=false)
 
 getRenderForCanvas ()
 
 getParams ()
 
 validate ($attribute, $value)
 
- Static Protected Member Functions inherited from BaseBuilderElement
static resolveLabel ()
 
static resolveThumbnailName ()
 
static resolveThumbnailHtmlOptions ()
 
static resolveWidgetHtmlOptions ()
 
static resolveWidgetClassesForHtmlOptions ()
 
- Protected Attributes inherited from BaseBuilderTableWrappedElement
 $shouldWrapCenterTagAroundTdForNonEditable = false
 
- Protected Attributes inherited from BaseBuilderElement
 $id
 
 $properties
 
 $content
 
 $params
 
 $model
 
 $renderForCanvas = false
 

Detailed Description

Definition at line 37 of file BuilderContainerElement.php.

Member Function Documentation

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

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:
Generated on Mon Jun 1 2020 07:10:40