PHP 클래스 Smile\ElasticsuiteTracker\Helper\Data

저자: Romain Ruaud ([email protected])
상속: extends Magento\Framework\App\Helper\AbstractHelper
파일 보기 프로젝트 열기: smile-sa/elasticsuite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

__construct() 공개 메소드

PHP Constructor
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

getBaseUrl() 공개 메소드

Return the tracking base URL (params are added later)
public getBaseUrl ( ) : string
리턴 string

getCookieConfig() 공개 메소드

Return an array containing the cookie configuration
public getCookieConfig ( ) : array
리턴 array

getStoreId() 공개 메소드

Retrieve current store Id
public getStoreId ( ) : integer
리턴 integer

isEnabled() 공개 메소드

Return the module activation status
public isEnabled ( ) : boolean
리턴 boolean

프로퍼티 상세

$scopeConfig 보호되어 있는 프로퍼티

Magento Configuration
protected ScopeConfigInterface,Magento\Framework\App\Config $scopeConfig
리턴 Magento\Framework\App\Config\ScopeConfigInterface