NodeInterface::getPath()

string getPath() Returns the path of the node. Return Value string The node path

NodeInterface::getNodeName()

string getNodeName() Returns node's name. Return Value string

NodeInterface::getName()

string getName() Returns the name of the node. Return Value string The name of the node

NodeInterface::getDefaultValue()

mixed getDefaultValue() Returns the default value of the node. Return Value mixed The default value Exceptions RuntimeException if the node has no default value

NodeInterface::finalize()

mixed finalize(mixed $value) Finalizes a value. Parameters mixed $value The value to finalize Return Value mixed The finalized value

NodeInterface

interface NodeInterface Interface for nodes. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() Returns node's name. Specificity getSpecificity() Returns node's specificity. string __toString() Returns node's string representation. Details string getNodeName() Returns node's name. Return Value string

NodeInterface

interface NodeInterface Common Interface among all nodes. In most cases, it is better to inherit from BaseNode instead of implementing this interface yourself. Methods string getName() Returns the name of the node. string getPath() Returns the path of the node. bool isRequired() Returns true when the node is required. bool hasDefaultValue() Returns true when the node has a default value. mixed getDefaultValue() Returns the default value of the node. mixed normali

NodeExtension::translateSelector()

XPathExpr translateSelector(SelectorNode $node, Translator $translator) Parameters SelectorNode $node Translator $translator Return Value XPathExpr

NodeExtension::translatePseudo()

XPathExpr translatePseudo(PseudoNode $node, Translator $translator) Parameters PseudoNode $node Translator $translator Return Value XPathExpr

NodeExtension::translateNegation()

XPathExpr translateNegation(NegationNode $node, Translator $translator) Parameters NegationNode $node Translator $translator Return Value XPathExpr