Метод | Описание | |
---|---|---|
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, |
Set the default template for page variable blocks | |
getVariables ( ) : array | Return the list of catalog related variables. |
Метод | Описание | |
---|---|---|
getCategoryVariables ( ) : array | Returns categories variables (id, name and path). | |
getLayerVariables ( ) : array | Return list of product list variables (pages, sort, display mode, filters) | |
getProductListBlock ( ) : Magento\Framework\View\Element\BlockInterface | Retrieve the product list block from the layout. | |
getProductListVariables ( ) : array | Return list of product list variables (pages, sort, display mode) | |
getProductVariables ( ) : array | Return list of the product relatedd variables (id, label, sku) |
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, |
||
$context | Magento\Framework\View\Element\Template\Context | The template context |
$jsonHelper | Magento\Framework\Json\Helper\Data | The Magento's JSON Helper |
$trackerHelper | The Smile Tracker helper | |
$registry | Magento\Framework\Registry | Magento Core Registry |
$layerResolver | Magento\Catalog\Model\Layer\Resolver | The Magento layer resolver |
$data | array | The block data |
public getVariables ( ) : array | ||
Результат | array |