PHP 클래스 Smile\ElasticsuiteTracker\Block\Variables\Page\Order

저자: Romain Ruaud ([email protected])
상속: extends AbstractBlock
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Data $trackerHelper, Magento\Framework\Registry $registry, Magento\Checkout\Model\Session $checkoutSession, array $data = [] ) Set the default template for page variable blocks
getVariables ( ) : array Return order and it's item related variables

비공개 메소드들

메소드 설명
getOrderItemVariables ( Magento\Sales\Model\Order\Item $item ) : array Retrieve tracking variables for an order item

메소드 상세

__construct() 공개 메소드

Set the default template for page variable blocks
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Data $trackerHelper, Magento\Framework\Registry $registry, Magento\Checkout\Model\Session $checkoutSession, array $data = [] )
$context Magento\Framework\View\Element\Template\Context The template context
$jsonHelper Magento\Framework\Json\Helper\Data The Magento's JSON Helper
$trackerHelper Smile\ElasticsuiteTracker\Helper\Data The Smile Tracker helper
$registry Magento\Framework\Registry Magento Core Registry
$checkoutSession Magento\Checkout\Model\Session The checkout session
$data array The block data

getVariables() 공개 메소드

Return order and it's item related variables
public getVariables ( ) : array
리턴 array