HtmlExtension::translateChecked()

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

HtmlExtension::translateEnabled()

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

HtmlExtension::translateHover()

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

HtmlExtension::getName()

string getName() Returns extension name. Return Value string

HtmlExtension

class HtmlExtension extends AbstractExtension XPath expression translator HTML 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 translators. callab

HtmlExtension::getPseudoClassTranslators()

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

HtmlExtension::getFunctionTranslators()

callable[] getFunctionTranslators() Returns function translators. Return Value callable[]

HtmlDumper::setStyles()

setStyles(array $styles) Configures styles. Parameters array $styles A map of style names to style definitions

HtmlDumper::dump()

dump(Data $data, callable|resource|string|null $output = null) Dumps a Data object. Parameters Data $data A Data object callable|resource|string|null $output A line dumper callable, an opened stream or an output path

HtmlDumper::setDumpBoundaries()

setDumpBoundaries(string $prefix, string $suffix) Sets an HTML prefix and suffix that will encapse every single dump. Parameters string $prefix The prepended HTML string string $suffix The appended HTML string