ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Includes a template. More...
Public Member Functions | |
parse (Twig_Token $token) | |
Parses a token and returns a node. More... | |
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... | |
Protected Member Functions | |
parseArguments () | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
$parser | |
Includes a template.
{% include 'header.html' %} Body {% include 'footer.html' %}
Definition at line 22 of file Include.php.
Twig_TokenParser_Include::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 59 of file Include.php.
Referenced by parse().
Twig_TokenParser_Include::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 24 of file Include.php.
References Twig_Token\getLine(), getTag(), and parseArguments().
|
protected |
Definition at line 33 of file Include.php.
References GuzzleHttp\Psr7\$stream, Twig_Token\BLOCK_END_TYPE, and Twig_Token\NAME_TYPE.
Referenced by Twig_TokenParser_Embed\parse(), and parse().