示例#1
0
 /**
  * @inheritDoc
  */
 public function refresh()
 {
     $this->relPaths = NULL;
     if ($this->cache) {
         $this->cache->delete($this->cacheKey);
     }
 }
示例#2
0
文件: Mapper.php 项目: kidaa30/yes
 public function refresh()
 {
     $this->infos = array();
     $this->moduleExtensions = NULL;
     if ($this->cache) {
         $this->cache->delete($this->cacheKey . '/moduleFiles');
     }
 }
示例#3
0
 /**
  * @inheritDoc
  */
 public function refresh()
 {
     if ($this->cache) {
         $this->cache->delete($this->cacheKey);
     }
     foreach ($this->containers as $container) {
         $container->refresh();
     }
 }
示例#4
0
 public function refresh()
 {
     $this->infos = array();
     $this->moduleExtensions = NULL;
     if ($this->cache) {
         $this->cache->delete($this->cacheKey . '/moduleFiles');
     }
     // FIXME: How can code so code wrong be so right?
     CRM_Extension_System::singleton()->getClassLoader()->refresh();
 }