NodeExtension
class NodeExtension extends AbstractExtension
XPath expression translator node extension.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Constants
ELEMENT_NAME_IN_LOWER_CASE | |
ATTRIBUTE_NAME_IN_LOWER_CASE | |
ATTRIBUTE_VALUE_IN_LOWER_CASE | |
Methods
Details
callable[]
getNodeTranslators()
Returns node translators.
These callables will receive the node as first argument and the translator as second argument.
Return Value
callable[]
getCombinationTranslators()
Returns combination translators.
Return Value
callable[]
getFunctionTranslators()
Returns function translators.
Return Value
callable[]
getPseudoClassTranslators()
Returns pseudo-class translators.
Return Value
callable[]
getAttributeMatchingTranslators()
Returns attribute operation translators.
Return Value
__construct(int $flags = 0)
Parameters
$this
setFlag(int $flag, bool $on)
Parameters
Return Value
bool
hasFlag(int $flag)
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
Parameters
Return Value
string
getName()
Returns extension name.
Return Value