Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Layout\ScheduledStructure\Helper $helper, Layout\Argument\Parser $argumentParser, Layout\ReaderPool $readerPool, InterpreterInterface $argumentInterpreter, Condition $conditionReader, $scopeType=null) | |
getSupportedNodes () | |
interpret (Context $readerContext, Element $currentElement) | |
![]() | |
interpret (Reader\Context $readerContext, Element $element) | |
Data Fields | |
const | TYPE_BLOCK = 'block' |
const | TYPE_REFERENCE_BLOCK = 'referenceBlock' |
const | TYPE_ARGUMENTS = 'arguments' |
const | TYPE_ACTION = 'action' |
const | ATTRIBUTE_GROUP = 'group' |
const | ATTRIBUTE_CLASS = 'class' |
const | ATTRIBUTE_TEMPLATE = 'template' |
const | ATTRIBUTE_TTL = 'ttl' |
const | ATTRIBUTE_DISPLAY = 'display' |
const | ATTRIBUTE_ACL = 'aclResource' |
Protected Member Functions | |
scheduleBlock (ScheduledStructure $scheduledStructure, Element $currentElement) | |
mergeBlockAttributes (array $elementData, Element $currentElement) | |
scheduleReference (ScheduledStructure $scheduledStructure, Element $currentElement) | |
updateScheduledData ($currentElement, array &$data) | |
getAttributes (Element $blockElement) | |
getArguments (Element $blockElement) | |
parseArguments (Element $node) | |
evaluateArguments (Element $blockElement, array &$data) | |
Protected Attributes | |
$attributes | |
$helper | |
$argumentParser | |
$readerPool | |
$scopeType | |
$argumentInterpreter | |
__construct | ( | Layout\ScheduledStructure\Helper | $helper, |
Layout\Argument\Parser | $argumentParser, | ||
Layout\ReaderPool | $readerPool, | ||
InterpreterInterface | $argumentInterpreter, | ||
Condition | $conditionReader, | ||
$scopeType = null |
|||
) |
Constructor
Layout\ScheduledStructure\Helper | $helper | |
Layout\Argument\Parser | $argumentParser | |
Layout\ReaderPool | $readerPool | |
InterpreterInterface | $argumentInterpreter | |
Condition | $conditionReader | |
string | null | $scopeType |
Definition at line 99 of file Block.php.
|
protected |
Compute argument values
Element | $blockElement | |
array | $data |
Definition at line 363 of file Block.php.
|
protected |
Get block arguments
Element | $blockElement |
Definition at line 310 of file Block.php.
|
protected |
getSupportedNodes | ( | ) |
{Get nodes types that current reader is support
Implements ReaderInterface.
Definition at line 120 of file Block.php.
{}
Definition at line 133 of file Block.php.
|
protected |
Merge Block attributes
array | $elementData | |
Element | $currentElement |
Definition at line 184 of file Block.php.
|
protected |
|
protected |
Process block element their attributes and children
ScheduledStructure | $scheduledStructure | |
Element | $currentElement |
Definition at line 157 of file Block.php.
|
protected |
Schedule reference data
ScheduledStructure | $scheduledStructure | |
Element | $currentElement |
Definition at line 231 of file Block.php.
|
protected |
Update data for scheduled element
Element | $currentElement | |
array | &$data |
Definition at line 257 of file Block.php.
|
protected |
#- #-
const ATTRIBUTE_GROUP = 'group' |
const TYPE_ARGUMENTS = 'arguments' |