PHP Class pQuery\TextNode

Inheritance: extends DomNode
Afficher le fichier Open project: tburry/pquery

Méthodes publiques

Свойство Type Description
$tag #php5e
$text string

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
filter_element ( )
filter_text ( )

Method Details

__construct() public méthode

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

filter_element() protected méthode

protected filter_element ( )

filter_text() protected méthode

protected filter_text ( )

html() public méthode

public html ( $value = null )

isText() public méthode

#php4e
public isText ( )

isTextOrComment() public méthode

public isTextOrComment ( )

text() public méthode

public text ( $value = null )

toString() public méthode

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

toString_attributes() public méthode

public toString_attributes ( )

toString_content() public méthode

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
Résultat string