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

BuilderElementRenderUtil Class Reference

Static Public Member Functions

static renderEditable ($className, $renderForCanvas=false, $id=null, $properties=null, $content=null, $params=null)
static renderNonEditable ($className, $renderForCanvas=false, $wrapElementInRow=0, $id=null, $properties=null, $content=null, $params=null)
static resolveElement ($className, $renderForCanvas=false, $id=null, $properties=null, $content=null, $params=null)
static resolveSerializedDataByElement (BaseBuilderElement $element, $serializedProperties=false, $serializedContent=false)
static validateEditableForm ()

Data Fields

const DO_NOT_WRAP_IN_ROW = 0
const WRAP_IN_ROW = 1
const WRAP_IN_HEADER_ROW = 2

Static Protected Member Functions

static resolveToArrayIfJson (&$content)

Detailed Description

Class BuilderElementRenderUtil Utility class to render builder elements. This should always be preferred over directly invoking Builder element's construct.

Definition at line 42 of file BuilderElementRenderUtil.php.


Member Function Documentation

static renderEditable ( className,
renderForCanvas = false,
id = null,
properties = null,
content = null,
params = null 
) [static]

Render an element as editable

Parameters:
$className 
bool $renderForCanvas
null $id
null $properties
null $content
null $params
Returns:
string

Definition at line 60 of file BuilderElementRenderUtil.php.

static renderNonEditable ( className,
renderForCanvas = false,
wrapElementInRow = 0,
id = null,
properties = null,
content = null,
params = null 
) [static]

Render an element as noneditable

Parameters:
$className 
bool $renderForCanvas
bool $wrapElementInRow
null $id
null $properties
null $content
null $params
Returns:
string

Definition at line 79 of file BuilderElementRenderUtil.php.

static resolveElement ( className,
renderForCanvas = false,
id = null,
properties = null,
content = null,
params = null 
) [static]

Resolve a builder element

Parameters:
$className 
bool $renderForCanvas
null $id
null $properties
null $content
null $params
Returns:
BaseBuilderElement

Definition at line 115 of file BuilderElementRenderUtil.php.

static resolveSerializedDataByElement ( BaseBuilderElement element,
serializedProperties = false,
serializedContent = false 
) [static]

Resolve serialized data array for an element.

Parameters:
BaseBuilderElement $element
bool $serializedProperties
bool $serializedContent
Returns:
array

Definition at line 134 of file BuilderElementRenderUtil.php.

static resolveToArrayIfJson ( &$  content  )  [static, protected]

Resolve a string to array if its appears to be json

Parameters:
$content 

Definition at line 148 of file BuilderElementRenderUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:45 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