PHP 클래스 Goetas\Twital\EventSubscriber\ContextAwareEscapingSubscriber

저자: Asmir Mustafic ([email protected])
상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: goetas/twital

보호된 프로퍼티들

프로퍼티 타입 설명
$options
$placeholder

공개 메소드들

메소드 설명
__construct ( array $placeholder = ['[_TWITAL_[', ']_TWITAL_]'], array $options = [] )
addEscaping ( TemplateEvent $event )
getSubscribedEvents ( )

비공개 메소드들

메소드 설명
esapeScript ( DOMDocument $doc, DOMXPath $xp )
esapeStyle ( DOMDocument $doc, DOMXPath $xp )
esapeUrls ( DOMDocument $doc, DOMXPath $xp )
xpathQuery ( DOMXPath $xp, $expression, DOMNode $contextnode = null, $registerNodeNS = true ) Used only to achieve HHVM compatibility. Sett https://github.com/facebook/hhvm/issues/2810

메소드 상세

__construct() 공개 메소드

public __construct ( array $placeholder = ['[_TWITAL_[', ']_TWITAL_]'], array $options = [] )
$placeholder array
$options array

addEscaping() 공개 메소드

public addEscaping ( TemplateEvent $event )
$event Goetas\Twital\EventDispatcher\TemplateEvent

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

프로퍼티 상세

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

protected $options

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

protected $placeholder