Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
refreshPartner example
public
function
updateLog
(
$request
,
$response
)
{
if
(
$this
->
shouldRefreshLog
(
$request
)
)
{
$this
->
cleanupStatistic
(
)
;
$this
->
refreshBasket
(
$request
)
;
$this
->
refreshLog
(
$request
)
;
$this
->
refreshReferer
(
$request
)
;
$this
->
refreshArticleImpression
(
$request
)
;
$this
->
refreshBlog
(
$request
)
;
$this
->
refreshCurrentUsers
(
$request
)
;
$this
->
refreshPartner
(
$request
,
$response
)
;
}
}
/** * @param Enlight_Controller_Request_Request $request * * @return void */
public
function
refreshBasket
(
Enlight_Controller_Request_RequestHttp
$request
)
{
$currentController
=
$request
->
getParam
(
'requestController',
$request
->
getControllerName
(
)
)
;