PHP 클래스 Twig_NodeVisitor_Escaper, php-framework-benchmarks

저자: Fabien Potencier ([email protected])
상속: extends Twig_BaseNodeVisitor
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks

보호된 프로퍼티들

프로퍼티 타입 설명
$blocks
$safeAnalysis
$statusStack
$traverser

공개 메소드들

메소드 설명
__construct ( )
enterNode ( Twig_NodeInterface $node, Twig_Environment $env ) Called before child nodes are visited.
getPriority ( )
leaveNode ( Twig_NodeInterface $node, Twig_Environment $env ) Called after child nodes are visited.

보호된 메소드들

메소드 설명
escapePrintNode ( Twig_Node_Print $node, Twig_Environment $env, $type )
getEscaperFilter ( $type, Twig_NodeInterface $node )
isSafeFor ( $type, Twig_NodeInterface $expression, $env )
needEscaping ( Twig_Environment $env )
preEscapeFilterNode ( Twig_Node_Expression_Filter $filter, Twig_Environment $env )

메소드 상세

__construct() 공개 메소드

public __construct ( )

enterNode() 공개 메소드

Called before child nodes are visited.
public enterNode ( Twig_NodeInterface $node, Twig_Environment $env )
$node Twig_NodeInterface The node to visit
$env Twig_Environment The Twig environment instance

escapePrintNode() 보호된 메소드

protected escapePrintNode ( Twig_Node_Print $node, Twig_Environment $env, $type )
$node Twig_Node_Print
$env Twig_Environment

getEscaperFilter() 보호된 메소드

protected getEscaperFilter ( $type, Twig_NodeInterface $node )
$node Twig_NodeInterface

getPriority() 공개 메소드

public getPriority ( )

isSafeFor() 보호된 메소드

protected isSafeFor ( $type, Twig_NodeInterface $expression, $env )
$expression Twig_NodeInterface

leaveNode() 공개 메소드

Called after child nodes are visited.
public leaveNode ( Twig_NodeInterface $node, Twig_Environment $env )
$node Twig_NodeInterface The node to visit
$env Twig_Environment The Twig environment instance

needEscaping() 보호된 메소드

protected needEscaping ( Twig_Environment $env )
$env Twig_Environment

preEscapeFilterNode() 보호된 메소드

protected preEscapeFilterNode ( Twig_Node_Expression_Filter $filter, Twig_Environment $env )
$filter Twig_Node_Expression_Filter
$env Twig_Environment

프로퍼티 상세

$blocks 보호되어 있는 프로퍼티

protected $blocks

$safeAnalysis 보호되어 있는 프로퍼티

protected $safeAnalysis

$statusStack 보호되어 있는 프로퍼티

protected $statusStack

$traverser 보호되어 있는 프로퍼티

protected $traverser