All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions | Protected Attributes
BuilderCanvasElement Class Reference
Inheritance diagram for BuilderCanvasElement:
BuilderContainerElement BaseBuilderTableWrappedElement BaseBuilderElement

Static Public Member Functions

static resolveLabel ()
 
- Static Public Member Functions inherited from BuilderContainerElement
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 ()
 

Protected Member Functions

 resolveWrapperNonEditable ($elementContent, array $customDataAttributes, $actionsOverlay)
 
 resolveNonEditableContentWrappingTdHtmlOptions ()
 
 renderSettingsTab (ZurmoActiveForm $form)
 
 resolveAvailableNonEditableActionsArray ()
 
 resolveAvailableNonEditableActionLinkSpan ($action)
 
 resolveNonEditableWrapperHtmlOptions ()
 
 normalizeHtmlContent ($content)
 
 renderHtmlBody ($content)
 
 renderHtmlHead ()
 
 renderMetaTag ()
 
 renderCss ()
 
 renderBuilderCssTools ()
 
 renderLess ()
 
 renderIconFontCss ()
 
 resolveCanvasGlobalCssPath ()
 
 resolveCanvasOverrideCssPath ()
 
 resolveCanvasGlobalCssContent ()
 
- Protected Member Functions inherited from BuilderContainerElement
 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)
 

Protected Attributes

 $shouldWrapCenterTagAroundTdForNonEditable = true
 
- Protected Attributes inherited from BaseBuilderTableWrappedElement
 $shouldWrapCenterTagAroundTdForNonEditable = false
 
- Protected Attributes inherited from BaseBuilderElement
 $id
 
 $properties
 
 $content
 
 $params
 
 $model
 
 $renderForCanvas = false
 

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)
 
- Data Fields inherited from BuilderContainerElement
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'
 
- Static Protected Member Functions inherited from BaseBuilderElement
static resolveLabel ()
 
static resolveThumbnailName ()
 
static resolveThumbnailHtmlOptions ()
 
static resolveWidgetHtmlOptions ()
 
static resolveWidgetClassesForHtmlOptions ()
 

Detailed Description

Definition at line 37 of file BuilderCanvasElement.php.

Member Function Documentation

resolveAvailableNonEditableActionLinkSpan (   $action)
protected

Override to hide the canvas icons. There is only an 'edit' link and this is controlled via the toolbar

Parameters
$action
Returns
string

Definition at line 78 of file BuilderCanvasElement.php.

normalizeHtmlContent (   $content)
protected

Normalizes html content by adding missing nodes.

Parameters
$content
Returns
mixed

Definition at line 96 of file BuilderCanvasElement.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:25