Метод | Описание | |
---|---|---|
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, |
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 |
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, |
||
$context | Magento\Framework\View\Element\Template\Context | App context |
$jsonHelper | Magento\Framework\Json\Helper\Data | The Magento's JSON Helper |
$trackerHelper | The Smile Tracker helper | |
$data | array | additional datas |
public getBeaconUrl ( ) : string | ||
Результат | string |
public getCookieConfig ( ) : array | ||
Результат | array |
public getJsonHelper ( ) : Magento\Framework\Json\Helper\Data | ||
Результат | Magento\Framework\Json\Helper\Data |
public getStoreId ( ) : integer | ||
Результат | integer |