AttributeNode
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
Details
string
getNodeName()
Return Value
__construct(NodeInterface $selector, string $namespace, string $attribute, string $operator, string $value)
Parameters
NodeInterface | $selector | |
string | $namespace | |
string | $attribute | |
string | $operator | |
string | $value | |
Return Value
string
getNamespace()
Return Value
string
getAttribute()
Return Value
string
getOperator()
Return Value
string
getValue()
Return Value
Returns node's specificity.
Return Value
string
__toString()
Returns node's string representation.
Return Value