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

string|null
getNamespace()

No description

string|null
getElement()

No description

getSpecificity()

Returns node's specificity.

string
__toString()

Returns node's string representation.

Details

in AbstractNode at line 34
string getNodeName()

Return Value

string

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

Parameters

string|null $namespace
string|null $element

at line 42
string|null getNamespace()

Return Value

string|null

at line 50
string|null getElement()

Return Value

string|null

at line 58
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 66
string __toString()

Returns node's string representation.

Return Value

string