kernel/private/rest/classes/cache/cluster.php
public function delete( $id = null, $attributes = array(), $search = false )
    {
        if ( !isset( $this->clusterCacheFile ) )
        {
            $this->clusterCacheFile = eZClusterFileHandler::instance(
                $this->properties['location'] . $this->generateIdentifier( $id, $attributes )
            );
        }

        $this->clusterCacheFile->purge();

        return $id;
    }
public function delete( $id = null, $attributes = array(), $search = false )
    {
        if ( !isset( $this->clusterCacheFile ) )
        {
            $this->clusterCacheFile = eZClusterFileHandler::instance(
                $this->properties['location'] . $this->generateIdentifier( $id, $attributes )
            );
        }

        $this->clusterCacheFile->purge();

        return $id;
    }
public function delete ( $ id = null , $ attributes = array ( ) , $ search = false ) { if ( ! isset ( $ this -> clusterCacheFile ) ) { $ this -> clusterCacheFile = eZClusterFileHandler :: instance ( $ this -> properties [ 'location' ] . $ this -> generateIdentifier ( $ id , $ attributes ) ) ; } $ this -> clusterCacheFile -> purge ( ) ; return $ id ; }
Delete data from the cache.

Purges the cached data for a given ID and or attributes. Using an ID
purges only the cache data for just this ID.

Additional attributes provided will matched additionally. This can give
you an immense speed improvement against just searching for ID ( see
{@link ezcCacheStorage::restore()} ).

If you only provide attributes for deletion of cache data, all cache
data matching these attributes will be purged.

@param string $id                        The item ID.
@param array(string=>string) $attributes Attributes that describe the
cached data.
@param bool $search                      Whether to search for items
if not found directly. Default is
false.
Delete data from the cache .