TranslationFormListener

class TranslationFormListener implements EventSubscriberInterface Event Listener class for propel1_translation Methods __construct($columns, $dataClass) static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. preSetData(FormEvent $event) Details __construct($columns, $dataClass) Parameters $columns $dataClass static array getSubscribedEvents()

TranslationExtension::getTranslator()

getTranslator()

TranslationExtension::transchoice()

transchoice($message, $count, array $arguments = array(), $domain = null, $locale = null) Parameters $message $count array $arguments $domain $locale

TranslationExtension::getTranslationNodeVisitor()

getTranslationNodeVisitor()

TranslationExtension::trans()

trans($message, array $arguments = array(), $domain = null, $locale = null) Parameters $message array $arguments $domain $locale

TranslationExtractorPass

class TranslationExtractorPass implements CompilerPassInterface Adds tagged translation.extractor services to translation extractor. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

TranslationExtension::getTokenParsers()

array getTokenParsers() Returns the token parser instance to add to the existing list. Return Value array An array of Twig_TokenParser instances

TranslationExtension::getNodeVisitors()

getNodeVisitors() {@inheritdoc}

TranslationExtension::getName()

getName() {@inheritdoc}

TranslationDumperPass

class TranslationDumperPass implements CompilerPassInterface Adds tagged translation.formatter services to translation writer. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container