PHP 클래스 Smile\ElasticsuiteTracker\Block\Config

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

공개 메소드들

메소드 설명
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Data $trackerHelper, array $data = [] ) PHP Constructor
getBeaconUrl ( ) : string Retrieve beacon Url
getCookieConfig ( ) : array Return the session cookie configuration (names and lifetimes) for cookies used by the tracker (visit/session and visitor).
getJsonHelper ( ) : Magento\Framework\Json\Helper\Data Retrieve the Json Helper
getStoreId ( ) : integer Return the tracked store id.
isEnabled ( ) : boolean Check that the module is currently enabled

메소드 상세

__construct() 공개 메소드

PHP Constructor
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Data $trackerHelper, array $data = [] )
$context Magento\Framework\View\Element\Template\Context App context
$jsonHelper Magento\Framework\Json\Helper\Data The Magento's JSON Helper
$trackerHelper Smile\ElasticsuiteTracker\Helper\Data The Smile Tracker helper
$data array additional datas

getBeaconUrl() 공개 메소드

Retrieve beacon Url
public getBeaconUrl ( ) : string
리턴 string

getCookieConfig() 공개 메소드

Return the session cookie configuration (names and lifetimes) for cookies used by the tracker (visit/session and visitor).
public getCookieConfig ( ) : array
리턴 array

getJsonHelper() 공개 메소드

Retrieve the Json Helper
public getJsonHelper ( ) : Magento\Framework\Json\Helper\Data
리턴 Magento\Framework\Json\Helper\Data

getStoreId() 공개 메소드

Return the tracked store id.
public getStoreId ( ) : integer
리턴 integer

isEnabled() 공개 메소드

Check that the module is currently enabled
public isEnabled ( ) : boolean
리턴 boolean