PHP Class pQuery\CommentNode

Inheritance: extends DomNode
Exibir arquivo Open project: tburry/pquery

Public Properties

Property Type Description
$tag #php5e
$text string

Public Methods

Method Description
__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 )

Protected Methods

Method Description
filter_comment ( )
filter_element ( )

Method Details

__construct() public method

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

filter_comment() protected method

protected filter_comment ( )

filter_element() protected method

protected filter_element ( )

isComment() public method

#php4e
public isComment ( )

isTextOrComment() public method

public isTextOrComment ( )

toString() public method

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

toString_attributes() public method

public toString_attributes ( )

toString_content() public method

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

Property Details

$tag public_oe property

#php5e
public $tag

$text public_oe property

public string $text
return string