lib/ezi18n/classes/eztstranslator.php
public static function expireCache( $timestamp = false, $locale = null )
    {
        if ( $timestamp === false )
            $timestamp = time();

        $handler = eZExpiryHandler::instance();
        if ( $locale )
            $handler->setTimestamp( self::EXPIRY_KEY . '-' . $locale, $timestamp );
        else
            $handler->setTimestamp( self::EXPIRY_KEY, $timestamp );
        $handler->store();
        self::resetGlobals();
    }
public static function expireCache( $timestamp = false, $locale = null )
    {
        if ( $timestamp === false )
            $timestamp = time();

        $handler = eZExpiryHandler::instance();
        if ( $locale )
            $handler->setTimestamp( self::EXPIRY_KEY . '-' . $locale, $timestamp );
        else
            $handler->setTimestamp( self::EXPIRY_KEY, $timestamp );
        $handler->store();
        self::resetGlobals();
    }
public static function expireCache ( $ timestamp = false , $ locale = null ) { if ( $ timestamp === false ) $ timestamp = time ( ) ; $ handler = eZExpiryHandler :: instance ( ) ; if ( $ locale ) $ handler -> setTimestamp ( self :: EXPIRY_KEY . '-' . $ locale , $ timestamp ) ; else $ handler -> setTimestamp ( self :: EXPIRY_KEY , $ timestamp ) ; $ handler -> store ( ) ; self :: resetGlobals ( ) ; }
Expires the translation cache

@param int $timestamp An optional timestamp cache should be exired from. Current timestamp used by default
@param string $locale Optional translation's locale to expire specifically. Expires global ts cache by default.

@return void
Expires the translation cache