XPathExpr
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.
Methods
Details
__construct(string $path = '', string $element = '*', string $condition = '', bool $starPrefix = false)
Parameters
string | $path | |
string | $element | |
string | $condition | |
bool | $starPrefix | |
string
getElement()
Return Value
XPathExpr
addCondition(string $condition)
Parameters
Return Value
string
getCondition()
Return Value
Return Value
Return Value
Joins another XPathExpr with a combiner.
Parameters
Return Value
string
__toString()
Return Value