/**
  * Renew the cache prefix, save it, and notify all observers.
  */
 function renewCachePrefix()
 {
     $this->prefix = Util::randomString();
     $this->system->variableSet(XAUTOLOAD_VARNAME_CACHE_PREFIX, $this->prefix);
     foreach ($this->observers as $observer) {
         $observer->setCachePrefix($this->prefix);
     }
 }
Exemplo n.º 2
0
 /**
  * Renew the cache prefix, save it, and notify all observers.
  */
 function renewCachePrefix()
 {
     $this->prefix = Util::randomString();
     $this->system->variableSet('xautoload_cache_prefix', $this->prefix);
     foreach ($this->observers as $observer) {
         $observer->setCachePrefix($this->prefix);
     }
 }