Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getHomePageCacheIds example
$view
=
$controller
->
View
(
)
;
$controllerName
=
$this
->
getControllerRoute
(
$request
)
;
switch
(
$controllerName
)
{
case
'frontend/blog':
return
$this
->
getBlogCacheIds
(
$request
,
$view
)
;
case
'widgets/listing':
return
$this
->
getAjaxListingCacheIds
(
$request
,
$view
)
;
case
'frontend/index':
return
$this
->
getHomePageCacheIds
(
$context
)
;
case
'widgets/recommendation':
return
$this
->
getRecommendationCacheIds
(
$view
)
;
case
'frontend/detail':
return
$this
->
getDetailCacheIds
(
$request
)
;
case
'widgets/emotion':
return
$this
->
getEmotionCacheIds
(
$view
)
;
case
'frontend/listing':