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 34
string getNodeName()

Return Value

string

at line 39
__construct(NodeInterface $selector, string $namespace, string $attribute, string $operator, string $value)

Parameters

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

at line 51
NodeInterface getSelector()

Return Value

NodeInterface

at line 59
string getNamespace()

Return Value

string

at line 67
string getAttribute()

Return Value

string

at line 75
string getOperator()

Return Value

string

at line 83
string getValue()

Return Value

string

at line 91
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 99
string __toString()

Returns node's string representation.

Return Value

string