SelectorNode

class SelectorNode 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() from AbstractNode
__construct(NodeInterface $tree, null|string $pseudoElement = null)
NodeInterface getTree()
null|string getPseudoElement()
Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

string getNodeName()

Return Value

string

__construct(NodeInterface $tree, null|string $pseudoElement = null)

Parameters

NodeInterface $tree
null|string $pseudoElement

NodeInterface getTree()

Return Value

NodeInterface

null|string getPseudoElement()

Return Value

null|string

Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

string __toString()

Returns node's string representation.

Return Value

string
doc_Symfony
2016-10-28 06:31:45
Comments
Leave a Comment

Please login to continue.