Path

ez components / documentation / api reference / 1.1.1 / translation


eZ Components 1.1.1

Translation: ezcTranslationFilter

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Interface: ezcTranslationFilter

ezcTranslationFilter defines the common interface for all translation filters. [source]
Example:

Method Summary

public static ezcTranslationFilter getInstance( )
Returns an instance of the class that implements this interface
public void runFilter( $context )
Filters the context $context.

Methods

getInstance

ezcTranslationFilter getInstance( )
Returns an instance of the class that implements this interface

runFilter

void runFilter( $context )
Filters the context $context.
This static method is called by the Translation Manager whenever a context is requested. The method should only modify the "translated" string and not touch the original string or comment.

Parameters

Name Type Description
$context array(ezcTranslationData)  

See also:

ezcTranslation::$translationMap for a definition of the array format..


Last updated: Thu, 01 Nov 2007