PHP 클래스 pQuery\CommentNode

상속: extends DomNode
파일 보기 프로젝트 열기: tburry/pquery

공개 프로퍼티들

프로퍼티 타입 설명
$tag #php5e
$text string

공개 메소드들

메소드 설명
__construct ( DomNode $parent, string $text = '' ) Class constructor
isComment ( ) #php4e
isTextOrComment ( )
toString ( $attributes = true, $recursive = true, $content_only = false )
toString_attributes ( )
toString_content ( $attributes = true, $recursive = true, $content_only = false )

보호된 메소드들

메소드 설명
filter_comment ( )
filter_element ( )

메소드 상세

__construct() 공개 메소드

Class constructor
public __construct ( DomNode $parent, string $text = '' )
$parent DomNode
$text string

filter_comment() 보호된 메소드

protected filter_comment ( )

filter_element() 보호된 메소드

protected filter_element ( )

isComment() 공개 메소드

#php4e
public isComment ( )

isTextOrComment() 공개 메소드

public isTextOrComment ( )

toString() 공개 메소드

public toString ( $attributes = true, $recursive = true, $content_only = false )

toString_attributes() 공개 메소드

public toString_attributes ( )

toString_content() 공개 메소드

public toString_content ( $attributes = true, $recursive = true, $content_only = false )

프로퍼티 상세

$tag 공개적으로 프로퍼티

#php5e
public $tag

$text 공개적으로 프로퍼티

public string $text
리턴 string