Path

ez components / documentation / api reference / 2008.1beta1 / translation


eZ Components 2008.1beta1

Translation: ezcTranslationFilter

[ Tutorial ] [ Linguist format ] [ 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.
For a definition of the array format see ezcTranslation::$translationMap.

Parameters

Name Type Description
$context array(ezcTranslationData)  

Last updated: Tue, 27 May 2008