AttributeMatchingExtension::translatePrefixMatch()

XPathExpr translatePrefixMatch(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::translateIncludes()

XPathExpr translateIncludes(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::translateExists()

XPathExpr translateExists(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::translateEquals()

XPathExpr translateEquals(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::translateDifferent()

XPathExpr translateDifferent(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::translateDashMatch()

XPathExpr translateDashMatch(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::getName()

string getName() Returns extension name. Return Value string

AttributeMatchingExtension::getAttributeMatchingTranslators()

callable[] getAttributeMatchingTranslators() Returns attribute operation translators. Return Value callable[]

AttributeMatchingExtension

class AttributeMatchingExtension extends AbstractExtension XPath expression translator attribute 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 tran

AttributeBagInterface::replace()

replace(array $attributes) Sets attributes. Parameters array $attributes Attributes