Пример #1
0
 /**
  * Clears all content class identifier cache files from var/cache.
  */
 static function clearClassID($cacheItem)
 {
     $cachePath = eZSys::cacheDirectory();
     $fileHandler = eZClusterFileHandler::instance();
     $fileHandler->fileDelete($cachePath, 'classidentifiers_');
     $fileHandler->fileDelete($cachePath, 'classattributeidentifiers_');
     eZContentClass::expireCache();
     ezpEvent::getInstance()->notify('content/class/cache/all');
 }