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()

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::transchoice()

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

TranslationExtension::trans()

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

TranslationExtension::getTranslator()

getTranslator()

TranslationExtension::getTranslationNodeVisitor()

getTranslationNodeVisitor()

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}

TranslationExtension::getFilters()

getFilters() {@inheritdoc}