public function clean($mode = Zend_Cache::CLEANING_MODE_ALL,
$tags = array
()) { switch ($mode) { case Zend_Cache::CLEANING_MODE_ALL:
case Zend_Cache::CLEANING_MODE_OLD:
$cache_dir =
ini_get('zend_accelerator.output_cache_dir'
);
if (!
$cache_dir) { return false;
} $cache_dir .= '/.php_cache_api/';
return $this->
_clean($cache_dir,
$mode);
break;
case Zend_Cache::CLEANING_MODE_MATCHING_TAG:
$idlist = null;
foreach ($tags as $tag) { $next_idlist =
output_cache_get(self::TAGS_PREFIX.
$tag,
$this->_directives
['lifetime'
]);
if ($idlist) { $idlist =
array_intersect_assoc($idlist,
$next_idlist);
} else { $idlist =
$next_idlist;
} if (count($idlist) == 0
) {