PHP Class pQuery\EmbeddedNode

Inheritance: extends DomNode
显示文件 Open project: tburry/pquery

Public Properties

Property Type Description
$tag_char string
$text string

Public Methods

Method Description
__construct ( DomNode $parent, string $tag_char = '', string $tag = '', string $text = '', array $attributes = [] ) Class constructor
toString ( $attributes = true, $recursive = true, $content_only = false )

Protected Methods

Method Description
filter_element ( ) #php4e

Method Details

__construct() public method

Class constructor
public __construct ( DomNode $parent, string $tag_char = '', string $tag = '', string $text = '', array $attributes = [] )
$parent DomNode
$tag_char string {@link $tag_char}
$tag string {@link $tag}
$text string
$attributes array array('attr' => 'val')

filter_element() protected method

#php4e
protected filter_element ( )

toString() public method

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

Property Details

$tag_char public_oe property

public string $tag_char
return string

$text public_oe property

public string $text
return string