public function reset()
    {
        $files = glob( "{$this->properties['location']}*" );
        foreach ( $files as $file )
        {
            if ( is_dir( $file ) )
            {
                ezcBaseFile::removeRecursive( $file );
            }
            else
            {
                if ( @unlink( $file ) === false )
                {
                    throw new ezcBaseFilePermissionException(
                        $file,
                        ezcBaseFileException::REMOVE,
                        'Could not unlink cache file.'
                    );
                }
            }
        }
    }
public function reset()
    {
        $files = glob( "{$this->properties['location']}*" );
        foreach ( $files as $file )
        {
            if ( is_dir( $file ) )
            {
                ezcBaseFile::removeRecursive( $file );
            }
            else
            {
                if ( @unlink( $file ) === false )
                {
                    throw new ezcBaseFilePermissionException(
                        $file,
                        ezcBaseFileException::REMOVE,
                        'Could not unlink cache file.'
                    );
                }
            }
        }
    }
public function reset ( ) { $ files = glob ( "{$this->properties['location']}*" ) ; foreach ( $ files as $ file ) { if ( is_dir ( $ file ) ) { ezcBaseFile :: removeRecursive ( $ file ) ; } else { if ( @ unlink ( $ file ) === false ) { throw new ezcBaseFilePermissionException ( $ file , ezcBaseFileException :: REMOVE , 'Could not unlink cache file.' ) ; } } } }
Resets the whole storage.

Deletes all data in the storage including {@link ezcCacheStackMetaData}
that was stored using {@link storeMetaData()}.
Resets the whole storage .