PseudoClassExtension::translateOnlyChild()

XPathExpr translateOnlyChild(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr

PseudoClassExtension::translateOnlyOfType()

XPathExpr translateOnlyOfType(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr Exceptions ExpressionErrorException

PseudoClassExtension::translateLastOfType()

XPathExpr translateLastOfType(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr Exceptions ExpressionErrorException

PseudoClassExtension::translateLastChild()

XPathExpr translateLastChild(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr

PseudoClassExtension::translateFirstOfType()

XPathExpr translateFirstOfType(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr Exceptions ExpressionErrorException

PseudoClassExtension::translateEmpty()

XPathExpr translateEmpty(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr

PseudoClassExtension::translateFirstChild()

XPathExpr translateFirstChild(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr

PseudoClassExtension::getPseudoClassTranslators()

callable[] getPseudoClassTranslators() Returns pseudo-class translators. Return Value callable[]

PseudoClassExtension::getName()

string getName() Returns extension name. Return Value string

PseudoClassExtension

class PseudoClassExtension extends AbstractExtension XPath expression translator pseudo-class extension. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods callable[] getNodeTranslators() Returns node translators. from AbstractExtension callable[] getCombinationTranslators() Returns combination translators. from AbstractExtension callable[] getFunctionTranslators() Returns function transla