51 $instanceName = \
Magento\Framework\
View\Layout::class,
55 $this->_instanceName = $instanceName;
56 $this->_isShared = $shared;
64 return [
'_subject',
'_isShared'];
94 if (!$this->_subject) {
95 $this->_subject =
true === $this->_isShared
96 ? $this->_objectManager->get($this->_instanceName)
97 : $this->_objectManager->create($this->_instanceName);
107 return $this->
_getSubject()->setGeneratorPool($generatorPool);
169 public function reorderChild($parentName, $childName, $offsetOrSibling, $after =
true)
171 $this->
_getSubject()->reorderChild($parentName, $childName, $offsetOrSibling, $after);
187 return $this->
_getSubject()->getChildNames($parentName);
195 return $this->
_getSubject()->getChildBlocks($parentName);
227 return $this->
_getSubject()->addToParentGroup($blockName, $parentGroupName);
235 return $this->
_getSubject()->getGroupChildNames($blockName, $groupName);
331 return $this->
_getSubject()->renameElement($oldName, $newName);
363 return $this->
_getSubject()->getParentName($childName);
419 return $this->
_getSubject()->addAdjustableRenderer(
434 return $this->
_getSubject()->getRendererOptions($namespace, $staticType, $dynamicType);
442 $this->
_getSubject()->executeRenderer($namespace, $staticType, $dynamicType,
$data);
450 $this->
_getSubject()->initMessages($messageGroups);
570 return $this->
_getSubject()->extend($config, $overwrite);
getChildNames($parentName)
getChildBlock($parentName, $alias)
reorderChild($parentName, $childName, $offsetOrSibling, $after=true)
initMessages($messageGroups=[])
getRendererOptions($namespace, $staticType, $dynamicType)
unsetChild($parentName, $alias)
addBlock($block, $name='', $parent='', $alias='')
setNode($path, $value, $overwrite=true)
getChildBlocks($parentName)
setXml(\Magento\Framework\Simplexml\Element $node)
extend(\Magento\Framework\Simplexml\Config $config, $overwrite=true)
setChild($parentName, $elementName, $alias)
renameElement($oldName, $newName)
getGroupChildNames($blockName, $groupName)
getChildName($parentName, $alias)
getParentName($childName)
executeRenderer($namespace, $staticType, $dynamicType, $data=[])
setGeneratorPool(\Magento\Framework\View\Layout\GeneratorPool $generatorPool)
isManipulationAllowed($name)
addContainer($name, $label, array $options=[], $parent='', $alias='')
addAdjustableRenderer($namespace, $staticType, $dynamicType, $type, $template, $data=[])
addToParentGroup($blockName, $parentGroupName)
__construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName=\Magento\Framework\View\Layout::class, $shared=true)
renderElement($name, $useCache=true)
createBlock($type, $name='', array $arguments=[])
removeOutputElement($name)
renderNonCachedElement($name)
getElementProperty($name, $attribute)
setBuilder(\Magento\Framework\View\Layout\BuilderInterface $builder)
if(!isset($_GET['name'])) $name
setIsPrivate($isPrivate=true)