class CombinationExtension extends AbstractExtension
XPath expression translator combination extension.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
callable[] | getNodeTranslators() Returns node translators. | from AbstractExtension |
callable[] | getCombinationTranslators() Returns combination translators. | |
callable[] | getFunctionTranslators() Returns function translators. | from AbstractExtension |
callable[] | getPseudoClassTranslators() Returns pseudo-class translators. | from AbstractExtension |
callable[] | getAttributeMatchingTranslators() Returns attribute operation translators. | from AbstractExtension |
XPathExpr | translateDescendant(XPathExpr $xpath, XPathExpr $combinedXpath) | |
XPathExpr | translateChild(XPathExpr $xpath, XPathExpr $combinedXpath) | |
XPathExpr | translateDirectAdjacent(XPathExpr $xpath, XPathExpr $combinedXpath) | |
XPathExpr | translateIndirectAdjacent(XPathExpr $xpath, XPathExpr $combinedXpath) | |
string | getName() Returns extension name. |
Returns node translators.
These callables will receive the node as first argument and the translator as second argument.
callable[] |
Returns combination translators.
callable[] |
Returns function translators.
callable[] |
Returns pseudo-class translators.
callable[] |
Returns attribute operation translators.
callable[] |
XPathExpr | $xpath | |
XPathExpr | $combinedXpath |
XPathExpr |
XPathExpr | $xpath | |
XPathExpr | $combinedXpath |
XPathExpr |
XPathExpr | $xpath | |
XPathExpr | $combinedXpath |
XPathExpr |
XPathExpr | $xpath | |
XPathExpr | $combinedXpath |
XPathExpr |
Returns extension name.
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/CssSelector/XPath/Extension/CombinationExtension.html