[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/twig/twig/lib/Twig/Node/ -> SandboxedPrint.php (summary)

(no description)

File Size: 51 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Twig_Node_SandboxedPrint:: (2 methods):
  compile()
  removeNodeFilter()


Class: Twig_Node_SandboxedPrint  - X-Ref

Twig_Node_SandboxedPrint adds a check for the __toString() method
when the variable is an object and the sandbox is activated.

When there is a simple Print statement, like {{ article }},
and if the sandbox is enabled, we need to check that the __toString()
method is allowed if 'article' is an object.

compile(Twig_Compiler $compiler)   X-Ref
No description

removeNodeFilter($node)   X-Ref
Removes node filters.

This is mostly needed when another visitor adds filters (like the escaper one).

param: Twig_Node $node A Node
return: Twig_Node



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1