class ElementNode extends AbstractNode

Represents a "|" node.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

string
getNodeName()

No description

__construct(string|null $namespace = null, string|null $element = null)

No description

null|string
getNamespace()

No description

null|string
getElement()

No description

getSpecificity()

Returns node's specificity.

string
__toString()

Returns node's string representation.

Details

in AbstractNode at line line 34
string getNodeName()

Return Value

string

at line line 40
__construct(string|null $namespace = null, string|null $element = null)

Parameters

string|null $namespace
string|null $element

at line line 49
null|string getNamespace()

Return Value

null|string

at line line 57
null|string getElement()

Return Value

null|string

at line line 65
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line line 73
string __toString()

Returns node's string representation.

Return Value

string