ElementNode
class ElementNode extends AbstractNode
Represents a "
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(string|null $namespace = null, string|null $element = null) | ||
null|string | getNamespace() | |
null|string | getElement() | |
Specificity | getSpecificity() Returns node's specificity. | |
string | __toString() Returns node's string representation. |
Details
string getNodeName()
Return Value
string |
__construct(string|null $namespace = null, string|null $element = null)
Parameters
string|null | $namespace | |
string|null | $element |
null|string getNamespace()
Return Value
null|string |
null|string getElement()
Return Value
null|string |
Specificity getSpecificity()
Returns node's specificity.
Return Value
Specificity |
string __toString()
Returns node's string representation.
Return Value
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/CssSelector/Node/ElementNode.html