mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-15 15:58:52 +00:00
33 lines
634 B
PHP
33 lines
634 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Twig.
|
|
*
|
|
* (c) 2009 Fabien Potencier
|
|
* (c) 2009 Armin Ronacher
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
* Includes a template.
|
|
*
|
|
* <pre>
|
|
* {% include 'header.html' %}
|
|
* Body
|
|
* {% include 'footer.html' %}
|
|
* </pre>
|
|
*/
|
|
class phpbb_template_twig_tokenparser_include extends Twig_TokenParser_Include
|
|
{
|
|
/**
|
|
* Gets the tag name associated with this token parser.
|
|
*
|
|
* @return string The tag name
|
|
*/
|
|
public function getTag()
|
|
{
|
|
return 'INCLUDE';
|
|
}
|
|
}
|