class XPathExpr
XPath expression translator interface.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
__construct(string $path = '', string $element = '*', string $condition = '', bool $starPrefix = false) | ||
getElement() | ||
addCondition(string $condition) | ||
getCondition() | ||
addNameTest() | ||
addStarPrefix() | ||
$this | join(string $combiner, XPathExpr $expr) Joins another XPathExpr with a combiner. | |
__toString() |
string | $path | |
string | $element | |
string | $condition | |
bool | $starPrefix |
string | $condition |
Joins another XPathExpr with a combiner.
string | $combiner | |
XPathExpr | $expr |
$this |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/CssSelector/XPath/XPathExpr.html