PHP Class Kdyby\Translation\TemplateHelpers

Author: Filip Procházka ([email protected])
Inheritance: extends Nette\Object
Afficher le fichier Open project: kdyby/translation

Méthodes publiques

Méthode Description
__construct ( ITranslator $translator )
getTranslator ( ) : ITranslator
loader ( $method )
register ( Engine $engine )
translate ( $message, $count = NULL, $parameters = [], $domain = NULL, $locale = NULL )
translateFilterAware ( FilterInfo $filterInfo, $message, $count = NULL, $parameters = [], $domain = NULL, $locale = NULL )

Method Details

__construct() public méthode

public __construct ( ITranslator $translator )
$translator ITranslator

getTranslator() public méthode

public getTranslator ( ) : ITranslator
Résultat ITranslator

loader() public méthode

Deprecation:
public loader ( $method )

register() public méthode

public register ( Engine $engine )
$engine Latte\Engine

translate() public méthode

public translate ( $message, $count = NULL, $parameters = [], $domain = NULL, $locale = NULL )

translateFilterAware() public méthode

public translateFilterAware ( FilterInfo $filterInfo, $message, $count = NULL, $parameters = [], $domain = NULL, $locale = NULL )
$filterInfo Latte\Runtime\FilterInfo