Zend Framework
3.0
|
Public Member Functions | |
__construct (ZendTranslator $translator, $textDomain= 'default', $locale=null) | |
Translator uses the supplied Zend to find and translate language strings in config. | |
setTranslator (ZendTranslator $translator) | |
getTranslator () | |
setLocale ($locale) | |
getLocale () | |
setTextDomain ($textDomain) | |
getTextDomain () | |
process (Config $config) | |
Process. | |
processValue ($value) | |
Process a single value. | |
Protected Attributes | |
$translator | |
$locale = null | |
$textDomain = 'default' | |
__construct | ( | ZendTranslator | $translator, |
$textDomain = 'default' , |
|||
$locale = null |
|||
) |
Translator uses the supplied Zend to find and translate language strings in config.
ZendTranslator | $translator | |
string | $textDomain | |
string | null | $locale |
getLocale | ( | ) |
getTextDomain | ( | ) |
getTranslator | ( | ) |
process | ( | Config | $config | ) |
Process.
Config | $config |
Exception\InvalidArgumentException |
Walk through config and replace values
Implements ProcessorInterface.
processValue | ( | $value | ) |
setLocale | ( | $locale | ) |
string | null | $locale |
setTextDomain | ( | $textDomain | ) |
string | $textDomain |
setTranslator | ( | ZendTranslator | $translator | ) |
ZendTranslator | $translator |
|
protected |
|
protected |
|
protected |