Свойство | Тип | Описание | |
---|---|---|---|
$scopeConfig | Magento\Framework\App\Config\ScopeConfigInterface | Magento Configuration |
Метод | Описание | |
---|---|---|
__construct ( Magento\Framework\App\Helper\Context $context, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\View\Asset\Repository $assetRepository ) | PHP Constructor | |
getBaseUrl ( ) : string | Return the tracking base URL (params are added later) | |
getCookieConfig ( ) : array | Return an array containing the cookie configuration | |
getStoreId ( ) : integer | Retrieve current store Id | |
isEnabled ( ) : boolean | Return the module activation status |
public __construct ( Magento\Framework\App\Helper\Context $context, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\View\Asset\Repository $assetRepository ) | ||
$context | Magento\Framework\App\Helper\Context | The current context |
$storeManager | Magento\Store\Model\StoreManagerInterface | The Store Manager |
$assetRepository | Magento\Framework\View\Asset\Repository | The asset repository |
public getBaseUrl ( ) : string | ||
Результат | string |
public getCookieConfig ( ) : array | ||
Результат | array |
public getStoreId ( ) : integer | ||
Результат | integer |