|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| loadLayoutUpdates () | |
| renderLayout ($output='') | |
| getDefaultLayoutHandle () | |
| loadLayout ($handles=null, $generateBlocks=true, $generateXml=true, $addActionHandles=true) | |
| generateLayoutXml () | |
| addPageLayoutHandles (array $parameters=[], $defaultHandle=null) | |
| generateLayoutBlocks () | |
| getPage () | |
| getLayout () | |
| addActionLayoutHandles () | |
| setIsLayoutLoaded ($value) | |
| isLayoutLoaded () | |
Introduced as a facade for presentation related operations. Later replaced with Magento\Framework\View\Result component
@api
Definition at line 17 of file ViewInterface.php.
| addActionLayoutHandles | ( | ) |
| addPageLayoutHandles | ( | array | $parameters = [], |
$defaultHandle = null |
|||
| ) |
Add layout updates handles associated with the action page
| array | $parameters | page parameters |
| string | $defaultHandle |
Implemented in View.
| generateLayoutBlocks | ( | ) |
| generateLayoutXml | ( | ) |
| getDefaultLayoutHandle | ( | ) |
| getLayout | ( | ) |
| getPage | ( | ) |
| isLayoutLoaded | ( | ) |
| loadLayout | ( | $handles = null, |
|
$generateBlocks = true, |
|||
$generateXml = true, |
|||
$addActionHandles = true |
|||
| ) |
Load layout by handles(s)
| string | null | bool | $handles | |
| bool | $generateBlocks | |
| bool | $generateXml | |
| bool | $addActionHandles |
Implemented in View.
| loadLayoutUpdates | ( | ) |
| renderLayout | ( | $output = '' | ) |
| setIsLayoutLoaded | ( | $value | ) |