本文整理汇总了PHP中Module::_clearCache方法的典型用法代码示例。如果您正苦于以下问题:PHP Module::_clearCache方法的具体用法?PHP Module::_clearCache怎么用?PHP Module::_clearCache使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Module
的用法示例。
在下文中一共展示了Module::_clearCache方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hookActionAdminCurrenciesControllerSaveAfter
public function hookActionAdminCurrenciesControllerSaveAfter($params)
{
return parent::_clearCache($this->templateFile);
}
示例2: _clearCache
public function _clearCache($template, $cache_id = NULL, $compile_id = NULL)
{
parent::_clearCache('blockbestsellers.tpl');
parent::_clearCache('blockbestsellers-home.tpl', 'blockbestsellers-home');
parent::_clearCache('tab.tpl', 'blockbestsellers-tab');
}
示例3: clearCache
function clearCache($cacheKey = '')
{
if (!$cacheKey) {
parent::_clearCache('flexbanner.tpl');
if ($this->arrLayout) {
foreach ($this->arrLayout as $key => $value) {
parent::_clearCache('flexbanner.' . $key . '.tpl');
}
}
} else {
parent::_clearCache('flexbanner.tpl', Tools::encrypt($cacheKey));
if ($this->arrLayout) {
foreach ($this->arrLayout as $key => $value) {
parent::_clearCache('flexbanner.' . $key . '.tpl', Tools::encrypt($cacheKey));
}
}
}
return true;
}
示例4: _clearCache
public function _clearCache($template, $cache_id = NULL, $compile_id = NULL)
{
parent::_clearCache('blockmobilecart-column.tpl');
parent::_clearCache('blockmobilecart-header.tpl');
}
示例5: clearCache
function clearCache($cacheKey = '')
{
if (!$cacheKey) {
parent::_clearCache('megaboxs.tpl');
if ($this->arrLayout) {
foreach ($this->arrLayout as $key => $value) {
parent::_clearCache('megaboxs.' . $key . '.rows.tpl');
parent::_clearCache('megaboxs.' . $key . '.groups.tpl');
parent::_clearCache('megaboxs.' . $key . '.group.products.tpl');
parent::_clearCache('megaboxs.' . $key . '.group.module.tpl');
parent::_clearCache('megaboxs.' . $key . '.group.html.tpl');
parent::_clearCache('megaboxs.' . $key . '.group.link.tpl');
parent::_clearCache('megaboxs.' . $key . '.group.contactform.tpl');
}
}
} else {
parent::_clearCache('megaboxs.tpl', $cacheKey);
if ($this->arrLayout) {
foreach ($this->arrLayout as $key => $value) {
parent::_clearCache('megaboxs.' . $key . '.rows.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('megaboxs.' . $key . '.groups.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('megaboxs.' . $key . '.group.products.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('megaboxs.' . $key . '.group.module.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('megaboxs.' . $key . '.group.html.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('megaboxs.' . $key . '.group.link.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('megaboxs.' . $key . '.group.contactform.tpl', Tools::encrypt($cacheKey));
}
}
}
return true;
}
示例6: _clearCache
protected function _clearCache($template, $cacheId = null, $compileId = null)
{
parent::_clearCache($this->templateFile);
}
示例7: _clearCache
public function _clearCache($template, $cache_id = null, $compile_id = null)
{
parent::_clearCache('tmtopsellers.tpl', $this->getCacheId('tmtopsellers-col'));
}
示例8: clearCache
function clearCache()
{
parent::_clearCache('flexiblecustom.tpl');
parent::_clearCache('default.layout.tpl');
}
示例9: _clearCache
public function _clearCache($template, $cache_id = NULL, $compile_id = NULL)
{
parent::_clearCache('topfootercms.tpl');
}
示例10: _clearCache
public function _clearCache($template, $cache_id = null, $compile_id = null)
{
parent::_clearCache('jphomeprodlist.tpl');
}
示例11: clearCache
function clearCache($cacheKey = '')
{
if (!$cacheKey) {
parent::_clearCache('customparallax.tpl');
if ($this->arrLayout) {
foreach ($this->arrLayout as $key => $value) {
parent::_clearCache('customparallax.' . $key . '.tpl');
parent::_clearCache('customparallax.' . $key . '.product.tpl');
}
}
} else {
parent::_clearCache('customparallax.tpl', Tools::encrypt($cacheKey));
if ($this->arrLayout) {
foreach ($this->arrLayout as $key => $value) {
parent::_clearCache('customparallax.' . $key . '.tpl', Tools::encrypt($cacheKey));
parent::_clearCache('customparallax.' . $key . '.product.tpl', Tools::encrypt($cacheKey));
}
}
}
return true;
}
示例12: _clearCache
public function _clearCache($template, $cache_id = null, $compile_id = null)
{
parent::_clearCache('meta-hreflang.tpl', $this->getCacheId($cache_id));
parent::_clearCache('meta-canonical.tpl', $this->getCacheId($cache_id));
}
示例13: _clearCache
public function _clearCache($template, $cache_id = NULL, $compile_id = NULL)
{
$this->name = 'homefeatured';
//NOTE: spike to clear cache for 'homefeatured.tpl'
parent::_clearCache('homefeatured.tpl');
parent::_clearCache('tab.tpl', 'homefeatured-tab');
$this->name = 'blockbestsellers';
parent::_clearCache('blockbestsellers.tpl');
parent::_clearCache('blockbestsellers-home.tpl', 'blockbestsellers-home');
parent::_clearCache('blockbestsellers.tpl', 'blockbestsellers_col');
parent::_clearCache('tab.tpl', 'blockbestsellers-tab');
$this->name = 'blocknewproducts';
parent::_clearCache('blocknewproducts.tpl');
parent::_clearCache('blocknewproducts_home.tpl', 'blocknewproducts-home');
parent::_clearCache('tab.tpl', 'blocknewproducts-tab');
$this->name = 'blockspecials';
parent::_clearCache('blockspecials.tpl');
$this->name = 'magicscroll';
}
示例14: _clearCache
public function _clearCache($template, $cache_id = null, $compile_id = null)
{
parent::_clearCache('blockbestsellers.tpl', $this->getCacheId('blockbestsellers-col'));
parent::_clearCache('blockbestsellers-home.tpl', $this->getCacheId('blockbestsellers-home'));
parent::_clearCache('tab.tpl', $this->getCacheId('blockbestsellers-tab'));
}
示例15: _clearCache
public function _clearCache($template, $cache_id = null, $compile_id = null)
{
return parent::_clearCache($template, $cache_id, $compile_id);
}