|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (ComponentDefinition $componentConfigProvider, DomMergerInterface $domMerger, ReaderFactory $readerFactory, ArrayObjectFactory $arrayObjectFactory, AggregatedFileCollectorFactory $aggregatedFileCollectorFactory, CacheInterface $cache, InterpreterInterface $argumentInterpreter, SerializerInterface $serializer=null) | |
| getData ($name) | |
| prepareData ($name) | |
| createRawComponentData ($component, $evaluated=true) | |
| getReader ($name) | |
Public Member Functions inherited from ManagerInterface | |
| createRawComponentData ($component) | |
Data Fields | |
| const | CACHE_ID = 'ui_component_configuration_data' |
Data Fields inherited from ManagerInterface | |
| const | SEARCH_PATTERN = '%s.xml' |
| const | ANONYMOUS_TEMPLATE = 'anonymous_%s_component_%d' |
| const | COMPONENT_ARGUMENTS_KEY = 'arguments' |
| const | COMPONENT_ATTRIBUTES_KEY = 'attributes' |
| const | CHILDREN_KEY = 'children' |
Protected Member Functions | |
| hasData ($name) | |
| evaluateComponentArguments ($components) | |
| prepare ($name) | |
| createDataForComponent ($name, array $componentsPool) | |
| addComponentIntoPool ($instanceName, array $configuration) | |
| mergeArguments (array $componentData, array $rootComponentData) | |
| mergeAttributes (array $componentData, array $rootComponentData) | |
| createName (array $componentData, $key, $componentName) | |
Protected Attributes | |
| $componentConfigProvider | |
| $argumentInterpreter | |
| $domMerger | |
| $readerFactory | |
| $componentsData | |
| $componentsPool | |
| $arrayObjectFactory | |
| $aggregatedFileCollectorFactory | |
| $cache | |
| $uiReader | |
Class Manager
Definition at line 29 of file Manager.php.
| __construct | ( | ComponentDefinition | $componentConfigProvider, |
| DomMergerInterface | $domMerger, | ||
| ReaderFactory | $readerFactory, | ||
| ArrayObjectFactory | $arrayObjectFactory, | ||
| AggregatedFileCollectorFactory | $aggregatedFileCollectorFactory, | ||
| CacheInterface | $cache, | ||
| InterpreterInterface | $argumentInterpreter, | ||
| SerializerInterface | $serializer = null |
||
| ) |
| ComponentDefinition | $componentConfigProvider | |
| DomMergerInterface | $domMerger | |
| ReaderFactory | $readerFactory | |
| ArrayObjectFactory | $arrayObjectFactory | |
| AggregatedFileCollectorFactory | $aggregatedFileCollectorFactory | |
| CacheInterface | $cache | |
| InterpreterInterface | $argumentInterpreter | |
| SerializerInterface | null | $serializer |
Definition at line 115 of file Manager.php.
|
protected |
Add a component into pool
| string | $instanceName | |
| array | $configuration |
Definition at line 335 of file Manager.php.
|
protected |
Create data for component instance
| string | $name | |
| array | $componentsPool |
Definition at line 295 of file Manager.php.
|
protected |
Create name component instance
| array | $componentData | |
| string | int | $key | |
| string | $componentName |
Definition at line 387 of file Manager.php.
| createRawComponentData | ( | $component, | |
$evaluated = true |
|||
| ) |
To create the raw data components
| string | $component | |
| bool | $evaluated |
Definition at line 224 of file Manager.php.
|
protected |
Evaluated components data
| array | $components |
Definition at line 202 of file Manager.php.
| getData | ( | $name | ) |
Get component data
| string | $name |
Implements ManagerInterface.
Definition at line 142 of file Manager.php.
| getReader | ( | $name | ) |
Get UIReader and collect base files configuration
| string | $name |
Implements ManagerInterface.
Definition at line 252 of file Manager.php.
|
protected |
|
protected |
Merge component arguments
| array | $componentData | |
| array | $rootComponentData |
Definition at line 347 of file Manager.php.
|
protected |
Merge component attributes
| array | $componentData | |
| array | $rootComponentData |
Definition at line 366 of file Manager.php.
|
protected |
Initialize the new component data
| string | $name |
Definition at line 275 of file Manager.php.
| prepareData | ( | $name | ) |
Prepare the initialization data of UI components
| string | $name |
Implements ManagerInterface.
Definition at line 165 of file Manager.php.
|
protected |
Definition at line 88 of file Manager.php.
|
protected |
Definition at line 48 of file Manager.php.
|
protected |
Definition at line 83 of file Manager.php.
|
protected |
Definition at line 93 of file Manager.php.
|
protected |
Definition at line 41 of file Manager.php.
|
protected |
Definition at line 69 of file Manager.php.
|
protected |
Definition at line 76 of file Manager.php.
|
protected |
Definition at line 55 of file Manager.php.
|
protected |
Definition at line 62 of file Manager.php.
|
protected |
Definition at line 98 of file Manager.php.
| const CACHE_ID = 'ui_component_configuration_data' |
ID in the storage cache
Definition at line 34 of file Manager.php.