BuilderButtonElement Class Reference

Inheritance diagram for BuilderButtonElement:
BaseBuilderTableWrappedElement BaseBuilderElement BuilderSocialButtonElement

Static Public Member Functions

static isUIAccessible ()

Protected Member Functions

 resolveDefaultProperties ()
 renderControlContentNonEditable ()
 resolveFrontendPropertiesNonEditable ()
 resolveInlineStylePropertiesForFrontendNonEditable (array &$mergedProperties)
 resolveFrontendPropertiesForWrappingTdNonEditable ()
 resolveInlineStylesForNonEditable (array &$mergedProperties)
 renderSettingsTab (ZurmoActiveForm $form)
 renderContentTab (ZurmoActiveForm $form)
 resolveDefaultHtmlOptionsForLink ()
 resolveWrapperTableNonEditableByContentAndHtmlOptions ($content, array $customDataAttributes)
 resolveBackendPropertiesForWrapperTableNonEditable ()
 resolveNonEditableWrapperHtmlOptions ()
 resolveNonEditableContentWrappingTableOptions ()
 resolveWrapperTdNonEditableByContent ($content)

Static Protected Member Functions

static resolveLabel ()

Protected Attributes

 $inlineStylesToKeepOnATag = array('color', 'font-size', 'font-family', 'font-weight')

Detailed Description

Definition at line 37 of file BuilderButtonElement.php.


Member Function Documentation

static isUIAccessible (  )  [static]
Returns:
bool If this element should be shown on the drag-n-drop sidebar.

Reimplemented from BaseBuilderElement.

Reimplemented in BuilderSocialButtonElement.

Definition at line 44 of file BuilderButtonElement.php.

static resolveLabel (  )  [static, protected]

Return translated label for current Element.

Exceptions:
NotImplementedException 

Reimplemented from BaseBuilderElement.

Definition at line 49 of file BuilderButtonElement.php.

resolveDefaultProperties (  )  [protected]

Resolve default properties

Returns:
array

Reimplemented from BaseBuilderElement.

Definition at line 54 of file BuilderButtonElement.php.

renderControlContentNonEditable (  )  [protected]

Returns the non-editable output for current element.

Returns:
string

Reimplemented from BaseBuilderElement.

Definition at line 73 of file BuilderButtonElement.php.

resolveFrontendPropertiesNonEditable (  )  [protected]

Resolve frontend properties for non-editable

Returns:
array

Reimplemented from BaseBuilderElement.

Definition at line 86 of file BuilderButtonElement.php.

resolveInlineStylesForNonEditable ( array &$  mergedProperties  )  [protected]
Parameters:
array $mergedProperties
Returns:
array|null

Reimplemented from BaseBuilderElement.

Definition at line 160 of file BuilderButtonElement.php.

renderSettingsTab ( ZurmoActiveForm form  )  [protected]

Render and Return content for Settings Tab. Returning null hides settings tab from appearing.

Parameters:
ZurmoActiveForm $form
Exceptions:
NotImplementedException 

Reimplemented from BaseBuilderElement.

Definition at line 165 of file BuilderButtonElement.php.

renderContentTab ( ZurmoActiveForm form  )  [protected]

Rendering and return content for Content tab.

Parameters:
ZurmoActiveForm $form
Returns:
string

Reimplemented from BaseBuilderElement.

Definition at line 174 of file BuilderButtonElement.php.

resolveWrapperTableNonEditableByContentAndHtmlOptions ( content,
array $  customDataAttributes 
) [protected]

Supports adding width as style instead of just as width element on table

Parameters:
$content 
array $customDataAttributes
Returns:
string

Reimplemented from BaseBuilderTableWrappedElement.

Definition at line 190 of file BuilderButtonElement.php.

resolveBackendPropertiesForWrapperTableNonEditable (  )  [protected]

Resolve frontend properties for non-editable

Returns:
array

Definition at line 204 of file BuilderButtonElement.php.

resolveNonEditableWrapperHtmlOptions (  )  [protected]

Resolve default html options for nonEditable representation's wrapper

Returns:
array

Reimplemented from BaseBuilderElement.

Definition at line 221 of file BuilderButtonElement.php.

resolveNonEditableContentWrappingTableOptions (  )  [protected]

Resolve wrapper's column options

Returns:
array

Definition at line 238 of file BuilderButtonElement.php.

resolveWrapperTdNonEditableByContent ( content  )  [protected]

Resolve and return td(s) by using provided content for non-editable representation

Parameters:
$content 
array $properties
Returns:
string

Reimplemented from BaseBuilderTableWrappedElement.

Definition at line 254 of file BuilderButtonElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 25 07:10:22 2017