|
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 () |
|
|
const | DO_NOT_WRAP_IN_ROW = 0 |
|
const | WRAP_IN_ROW = 1 |
|
const | WRAP_IN_HEADER_ROW = 2 |
|
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.
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 |
static resolveSerializedDataByElement |
( |
BaseBuilderElement |
$element, |
|
|
|
$serializedProperties = false , |
|
|
|
$serializedContent = false |
|
) |
| |
|
static |
static resolveToArrayIfJson |
( |
& |
$content | ) |
|
|
staticprotected |
The documentation for this class was generated from the following file: