当前位置: 首页>>代码示例>>PHP>>正文


PHP Module::_clearCache方法代码示例

本文整理汇总了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);
 }
开发者ID:prestashop,项目名称:ps_currencyselector,代码行数:4,代码来源:ps_currencyselector.php

示例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');
 }
开发者ID:Eximagen,项目名称:3m,代码行数:6,代码来源:blockbestsellers.php

示例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;
 }
开发者ID:zangles,项目名称:lennyba,代码行数:19,代码来源:flexbanner.php

示例4: _clearCache

 public function _clearCache($template, $cache_id = NULL, $compile_id = NULL)
 {
     parent::_clearCache('blockmobilecart-column.tpl');
     parent::_clearCache('blockmobilecart-header.tpl');
 }
开发者ID:paolobattistella,项目名称:aphro,代码行数:5,代码来源:blockmobilecart.php

示例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;
 }
开发者ID:zangles,项目名称:lennyba,代码行数:31,代码来源:megaboxs.php

示例6: _clearCache

 protected function _clearCache($template, $cacheId = null, $compileId = null)
 {
     parent::_clearCache($this->templateFile);
 }
开发者ID:PrestaShop,项目名称:blockreassurance,代码行数:4,代码来源:blockreassurance.php

示例7: _clearCache

 public function _clearCache($template, $cache_id = null, $compile_id = null)
 {
     parent::_clearCache('tmtopsellers.tpl', $this->getCacheId('tmtopsellers-col'));
 }
开发者ID:IngenioContenidoDigital,项目名称:serta,代码行数:4,代码来源:tmtopsellers.php

示例8: clearCache

 function clearCache()
 {
     parent::_clearCache('flexiblecustom.tpl');
     parent::_clearCache('default.layout.tpl');
 }
开发者ID:habypk,项目名称:zocart,代码行数:5,代码来源:flexiblebrands.php

示例9: _clearCache

 public function _clearCache($template, $cache_id = NULL, $compile_id = NULL)
 {
     parent::_clearCache('topfootercms.tpl');
 }
开发者ID:Chantouch,项目名称:topfootercms,代码行数:4,代码来源:topfootercms.php

示例10: _clearCache

 public function _clearCache($template, $cache_id = null, $compile_id = null)
 {
     parent::_clearCache('jphomeprodlist.tpl');
 }
开发者ID:jpotoczny,项目名称:PS-homeprodlist,代码行数:4,代码来源:jphomeprodlist.php

示例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;
 }
开发者ID:zangles,项目名称:lennyba,代码行数:21,代码来源:customparallax.php

示例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));
 }
开发者ID:zizuu-store,项目名称:zzseotk,代码行数:5,代码来源:faktiva_seo_tk.php

示例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';
 }
开发者ID:Eximagen,项目名称:3m,代码行数:19,代码来源:magicscroll.php

示例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'));
 }
开发者ID:ac3gam3r,项目名称:Maxokraft,代码行数:6,代码来源:blockbestsellers.php

示例15: _clearCache

 public function _clearCache($template, $cache_id = null, $compile_id = null)
 {
     return parent::_clearCache($template, $cache_id, $compile_id);
 }
开发者ID:WhisperingTree,项目名称:etagerca,代码行数:4,代码来源:blockadvfooter.php


注:本文中的Module::_clearCache方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。