class AttributeNode 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(NodeInterface $selector, string $namespace, string $attribute, string $operator, string $value)

No description

getSelector()

No description

string
getNamespace()

No description

string
getAttribute()

No description

string
getOperator()

No description

string
getValue()

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 58
__construct(NodeInterface $selector, string $namespace, string $attribute, string $operator, string $value)

Parameters

NodeInterface $selector
string $namespace
string $attribute
string $operator
string $value

at line line 70
NodeInterface getSelector()

Return Value

NodeInterface

at line line 78
string getNamespace()

Return Value

string

at line line 86
string getAttribute()

Return Value

string

at line line 94
string getOperator()

Return Value

string

at line line 102
string getValue()

Return Value

string

at line line 110
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line line 118
string __toString()

Returns node's string representation.

Return Value

string