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()
getTranslator()
transchoice($message, $count, array $arguments = array(), $domain = null, $locale = null) Parameters $message $count array $arguments $domain $locale
getTranslationNodeVisitor()
trans($message, array $arguments = array(), $domain = null, $locale = null) Parameters $message array $arguments $domain $locale
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
array getTokenParsers() Returns the token parser instance to add to the existing list. Return Value array An array of Twig_TokenParser instances
getNodeVisitors() {@inheritdoc}
getName() {@inheritdoc}
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
Page 53 of 787