PHP Class pQuery\TextNode

Inheritance: extends DomNode
Datei anzeigen Open project: tburry/pquery

Public Properties

Property Type Description
$tag #php5e
$text string

Public Methods

Method Description
__construct ( DomNode $parent, string $text = '' ) Class constructor
html ( $value = null )
isText ( ) #php4e
isTextOrComment ( )
text ( $value = null )
toString ( $attributes = true, $recursive = true, $content_only = false )
toString_attributes ( )
toString_content ( $attributes = true, $recursive = true, $content_only = false )

Protected Methods

Method Description
filter_element ( )
filter_text ( )

Method Details

__construct() public method

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

filter_element() protected method

protected filter_element ( )

filter_text() protected method

protected filter_text ( )

html() public method

public html ( $value = null )

isText() public method

#php4e
public isText ( )

isTextOrComment() public method

public isTextOrComment ( )

text() public method

public text ( $value = null )

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