|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Remove whitespaces between HTML tags. More...
Inheritance diagram for Twig_TokenParser_Spaceless:
Collaboration diagram for Twig_TokenParser_Spaceless:Public Member Functions | |
| parse (Twig_Token $token) | |
| Parses a token and returns a node. More... | |
| decideSpacelessEnd (Twig_Token $token) | |
| getTag () | |
| Gets the tag name associated with this token parser. More... | |
Public Member Functions inherited from Twig_TokenParser | |
| setParser (Twig_Parser $parser) | |
| Sets the parser associated with this token parser. More... | |
| setParser (Twig_Parser $parser) | |
| Sets the parser associated with this token parser. More... | |
| parse (Twig_Token $token) | |
| Parses a token and returns a node. More... | |
| getTag () | |
| Gets the tag name associated with this token parser. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
| $parser | |
Remove whitespaces between HTML tags.
{% spaceless %}
foo
{% endspaceless %}
{# output will be foo #}
@final
Definition at line 27 of file Spaceless.php.
| Twig_TokenParser_Spaceless::decideSpacelessEnd | ( | Twig_Token | $token | ) |
| Twig_TokenParser_Spaceless::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 45 of file Spaceless.php.
Referenced by parse().
Here is the caller graph for this function:| Twig_TokenParser_Spaceless::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
| Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 29 of file Spaceless.php.
References PHPMailer\PHPMailer\$token, Twig_Token\BLOCK_END_TYPE, and getTag().
Here is the call graph for this function: