class Twig_TokenParser_Filter extends Twig_TokenParser
Filters a section of a template by applying filters.
<pre>
{% filter upper %}
This text becomes uppercase
{% endfilter %}
</pre>
Methods
|
setParser(Twig_Parser $parser)
Sets the parser associated with this token parser |
from Twig_TokenParser | |
| Twig_NodeInterface |
parse(Twig_Token $token)
Parses a token and returns a node. |
|
| decideBlockEnd(Twig_Token $token) | ||
| string |
getTag()
Gets the tag name associated with this token parser. |
Details
in Twig_TokenParser at line 27
public
setParser(Twig_Parser $parser)
Sets the parser associated with this token parser
at line 30
public Twig_NodeInterface
parse(Twig_Token $token)
Parses a token and returns a node.
at line 47
public
decideBlockEnd(Twig_Token $token)
at line 57
public string
getTag()
Gets the tag name associated with this token parser.