Documentation

Twig_Extensions_Extension_I18n extends Twig_Extension
in package

Table of Contents

getFilters()  : mixed
{@inheritdoc}
getFunctions()  : array<string|int, TwigFunction>
Returns a list of functions to add to the existing list.
getName()  : mixed
{@inheritdoc}
getNodeVisitors()  : array<string|int, NodeVisitorInterface>
Returns the node visitor instances to add to the existing list.
getOperators()  : array<string|int, array<string|int, mixed>>
Returns a list of operators to add to the existing list.
getTests()  : array<string|int, TwigTest>
Returns a list of tests to add to the existing list.
getTokenParsers()  : mixed
{@inheritdoc}

Methods

getFilters()

{@inheritdoc}

public getFilters() : mixed
Return values
mixed

getName()

{@inheritdoc}

public getName() : mixed
Return values
mixed

getOperators()

Returns a list of operators to add to the existing list.

public getOperators() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

First array of unary operators, second array of binary operators

getTests()

Returns a list of tests to add to the existing list.

public getTests() : array<string|int, TwigTest>
Return values
array<string|int, TwigTest>

getTokenParsers()

{@inheritdoc}

public getTokenParsers() : mixed
Return values
mixed

Search results