GetAttrNode

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\GetAttrNode » Twig_Node_Expression » Twig_Node
Implements
Countable, IteratorAggregate
Since
3.0

GetAttrNode is an alternative to Twig_Node_Expression_GetAttr, which sends attribute calls to craft\helpers\Template::attribute() rather than twig_get_attribute().

View source

Protected Properties

PropertyDescription
$attributes
$lineno
$nodes
$tag

Public Methods

compile()

View source

Arguments

  • $compiler

Signature

public void compile ( Twig_Compiler $compiler )