Cms\Twig\FrameworkNode

Source: ~/modules/cms/twig/FrameworkNode.php

Extends:

  • Twig_Node

Implements:

  • Traversable
  • IteratorAggregate
  • Countable

Represents a "framework" node

Protected properties

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

  • protected $nodes - defined in Twig_Node.
  • protected $attributes - defined in Twig_Node.
  • protected $lineno - defined in Twig_Node.
  • protected $tag - defined in Twig_Node.

Public methods

public void __construct($name, $lineno, $tag='framework')
Parameters
  • $name
  • $lineno
  • $tag

public void compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Parameters
  • Twig_Compiler $compiler - A Twig_Compiler instance

Show inherited public methods

Inherited public methods

  • public void __toString() - defined in Twig_Node.
  • public void count() - defined in Twig_Node.
  • public mixed getAttribute($name) - defined in Twig_Node.
  • public void getIterator() - defined in Twig_Node.
  • public Twig_Node getNode($name) - defined in Twig_Node.
  • public void getNodeTag() - defined in Twig_Node.
  • public void getTemplateLine() - defined in Twig_Node.
  • public void getTemplateName() - defined in Twig_Node.
  • public bool hasAttribute($name) - defined in Twig_Node.
  • public bool hasNode($name) - defined in Twig_Node.
  • public void removeAttribute($name) - defined in Twig_Node.
  • public void removeNode($name) - defined in Twig_Node.
  • public void setAttribute(string $name, mixed $value) - defined in Twig_Node. Sets
  • public void setNode($name, $node) - defined in Twig_Node.
  • public void setTemplateName($name) - defined in Twig_Node.