lib/eztemplate/classes/eztemplatecacheblock.php
static private function filterKeys( array &$keys )
    {
        if ( isset( $GLOBALS['eZRequestError'] ) && $GLOBALS['eZRequestError'] === true )
        {
            $requestUri = eZSys::requestURI();
            foreach ( $keys as $i => &$key )
            {
                if ( is_array( $key ) )
                {
                    self::filterKeys( $key );
                }
                else if ( $key === $requestUri )
                {
                    unset( $keys[$i] );
                }
            }
        }
    }
static private function filterKeys( array &$keys )
    {
        if ( isset( $GLOBALS['eZRequestError'] ) && $GLOBALS['eZRequestError'] === true )
        {
            $requestUri = eZSys::requestURI();
            foreach ( $keys as $i => &$key )
            {
                if ( is_array( $key ) )
                {
                    self::filterKeys( $key );
                }
                else if ( $key === $requestUri )
                {
                    unset( $keys[$i] );
                }
            }
        }
    }
static private function filterKeys ( array & $ keys ) { if ( isset ( $ GLOBALS [ 'eZRequestError' ] ) && $ GLOBALS [ 'eZRequestError' ] === true ) { $ requestUri = eZSys :: requestURI ( ) ; foreach ( $ keys as $ i => & $ key ) { if ( is_array ( $ key ) ) { self :: filterKeys ( $ key ) ; } else if ( $ key === $ requestUri ) { unset ( $ keys [ $ i ] ) ; } } } }
Filters cache keys when needed.
Useful to avoid having current URI as a cache key if an error has occurred and has been caught by error module.

@param array $keys
Filters cache keys when needed . Useful to avoid having current URI as a cache key if an error has occurred and has been caught by error module .