|
| __construct (ContextInterface $context, LayoutPool $layoutPool, $type, array $components=[], array $data=[]) |
|
| getComponentName () |
|
| prepare () |
|
| getStructure () |
|
| __construct (ContextInterface $context, array $components=[], array $data=[]) |
|
| getContext () |
|
| getName () |
|
| prepare () |
|
| toHtml () |
|
| render () |
|
| addComponent ($name, UiComponentInterface $component) |
|
| getComponent ($name) |
|
| getChildComponents () |
|
| renderChildComponent ($name) |
|
| getTemplate () |
|
| getConfiguration () |
|
| getJsConfig (UiComponentInterface $component) |
|
| setData ($key, $value=null) |
|
| getData ($key='', $index=null) |
|
| prepareDataSource (array $dataSource) |
|
| getDataSourceData () |
|
| __construct (array $data=[]) |
|
| addData (array $arr) |
|
| setData ($key, $value=null) |
|
| unsetData ($key=null) |
|
| getData ($key='', $index=null) |
|
| getDataByPath ($path) |
|
| getDataByKey ($key) |
|
| setDataUsingMethod ($key, $args=[]) |
|
| getDataUsingMethod ($key, $args=null) |
|
| hasData ($key='') |
|
| toArray (array $keys=[]) |
|
| convertToArray (array $keys=[]) |
|
| toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) |
|
| convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) |
|
| toJson (array $keys=[]) |
|
| convertToJson (array $keys=[]) |
|
| toString ($format='') |
|
| __call ($method, $args) |
|
| isEmpty () |
|
| serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') |
|
| debug ($data=null, &$objects=[]) |
|
| offsetSet ($offset, $value) |
|
| offsetExists ($offset) |
|
| offsetUnset ($offset) |
|
| offsetGet ($offset) |
|
Class Layout
Definition at line 16 of file Layout.php.
◆ __construct()
__construct |
( |
ContextInterface |
$context, |
|
|
LayoutPool |
$layoutPool, |
|
|
|
$type, |
|
|
array |
$components = [] , |
|
|
array |
$data = [] |
|
) |
| |
Constructor
- Parameters
-
ContextInterface | $context | |
LayoutPool | $layoutPool | |
string | $type | |
array | $components | |
array | $data | |
Definition at line 49 of file Layout.php.
◆ getComponentName()
◆ getStructure()
◆ prepare()
Register component and build layout structure
Prepare component configuration
- Returns
- void
Implements UiComponentInterface.
Definition at line 76 of file Layout.php.
78 $this->layoutTypeObject = $this->layoutPool->create($this->type);
79 $this->structure = $this->layoutTypeObject->build($this);
◆ $layoutPool
◆ $layoutTypeObject
◆ $structure
◆ $type
◆ NAME
The documentation for this class was generated from the following file: