Class Twig_TokenParser_Filter

InheritanceTwig_TokenParser_Filter » Twig_TokenParser

Filters a section of a template by applying filters.

{% filter upper %}
 This text becomes uppercase
{% endfilter %}

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$parser Twig_Parser Twig_TokenParser

Public Methods

Hide inherited methods

MethodDescriptionDefined By
decideBlockEnd() Twig_TokenParser_Filter
getTag() Twig_TokenParser_Filter
parse() Twig_TokenParser_Filter
setParser() Sets the parser associated with this token parser. Twig_TokenParser

Method Details

decideBlockEnd() public method

public void decideBlockEnd ( Twig_Token $token )
getTag() public method

public void getTag ( )
parse() public method

public void parse ( Twig_Token $token )