abstract class Twig_Template

Default base class for compiled templates.

@package twig @author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of Twig_Template

2 string references to 'Twig_Template'

File

drupal/core/vendor/twig/twig/lib/Twig/Template.php, line 19

View source

Members

Namesort descending Modifiers Type Description Overrides
Twig_Template::$blocks protected property
Twig_Template::$cache protected static property
Twig_Template::$env protected property
Twig_Template::$parent protected property
Twig_Template::$parents protected property
Twig_Template::$traits protected property
Twig_Template::clearCache public static function This method is only useful when testing Twig. Do not use it.
Twig_Template::display public function Displays the template with the given context. Overrides Twig_TemplateInterface::display
Twig_Template::displayBlock public function Displays a block.
Twig_Template::displayParentBlock public function Displays a parent block.
Twig_Template::displayWithErrorHandling protected function
Twig_Template::doDisplay abstract protected function Auto-generated method to display the template with the given context. 1
Twig_Template::doGetParent protected function 1
Twig_Template::getAttribute protected function Returns the attribute value for a given array/object. 1
Twig_Template::getBlockNames public function Returns all block names.
Twig_Template::getBlocks public function Returns all blocks.
Twig_Template::getContext final protected function Returns a variable from the context.
Twig_Template::getEnvironment public function Returns the bound environment for this template. Overrides Twig_TemplateInterface::getEnvironment
Twig_Template::getParent public function Returns the parent template.
Twig_Template::getTemplateName abstract public function Returns the template name. 1
Twig_Template::hasBlock public function Returns whether a block exists or not.
Twig_Template::isTraitable public function
Twig_Template::render public function Renders the template with the given context and returns it as string. Overrides Twig_TemplateInterface::render
Twig_Template::renderBlock public function Renders a block.
Twig_Template::renderParentBlock public function Renders a parent block.
Twig_Template::__construct public function Constructor. 1
Twig_TemplateInterface::ANY_CALL constant
Twig_TemplateInterface::ARRAY_CALL constant
Twig_TemplateInterface::METHOD_CALL constant