Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
UiComponentInterface.php
Go to the documentation of this file.
1 <?php
7 
9 
17 {
23  public function getName();
24 
30  public function getComponentName();
31 
37  public function getConfiguration();
38 
44  public function render();
45 
53  public function addComponent($name, UiComponentInterface $component);
54 
59  public function getComponent($name);
60 
66  public function getChildComponents();
67 
73  public function getTemplate();
74 
80  public function getContext();
81 
88  public function renderChildComponent($name);
89 
97  public function setData($key, $value = null);
98 
106  public function getData($key = '', $index = null);
107 
113  public function prepare();
114 
121  public function prepareDataSource(array $dataSource);
122 
128  public function getDataSourceData();
129 }
addComponent($name, UiComponentInterface $component)
$value
Definition: gender.phtml:16
$index
Definition: list.phtml:44
if(!isset($_GET['name'])) $name
Definition: log.php:14