TemplateService

Namespace

IO\Services

Properties
Type Name Description

``

$currentTemplate

``

$currentTemplateData

``

$shouldBeCached

``

$forceNoIndex

Methods
public forceNoIndex($forceNoIndex)
Parameters

Type

Name

Description

``

$forceNoIndex

public isNoIndexForced()
public shouldBeCached()
public disableCacheForTemplate()
public getCurrentTemplate()
public setCurrentTemplate($template)
Parameters

Type

Name

Description

``

$template

public isHome()
Deprecated!

Use ShopUrls::is(RouteConfig::HOME) instead

public isItem()
Deprecated!

Use ShopUrls::is(RouteConfig::ITEM) instead

public isMyAccount()
Deprecated!

Use ShopUrls::is(RouteConfig::MY_ACCOUNT) instead

public isCheckout()
Deprecated!

Use ShopUrls::is(RouteConfig::CHECKOUT) instead

public isSearch()
Deprecated!

Use ShopUrls::is(RouteConfig::SEARCH) instead

public isCategory()
Deprecated!

Use ShopUrls::is(RouteConfig::CATEGORY) instead

public renderTemplate()