Example #1
0
 /**
  * Invalidates the GUID for all known data groups.
  *
  * @param string $guid The GUID to invalidate.
  */
 function invalidate($guid)
 {
     if ($this->_cache !== null) {
         foreach ($this->_data_groups as $group) {
             if ($group == 'ACL') {
                 $this->_cache->_remove("{$group}-SELF::{$guid}");
                 $this->_cache->_remove("{$group}-CONTENT::{$guid}");
             } else {
                 $this->_cache->_remove("{$group}-{$guid}");
             }
         }
     }
 }