[ Index ]

PHP Cross Reference of DokuWiki




/_test/vendor/symfony/css-selector/ -> CssSelectorConverter.php (summary)

(no description)

File Size: 65 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CssSelectorConverter:: (2 methods):

Class: CssSelectorConverter  - X-Ref

CssSelectorConverter is the main entry point of the component and can convert CSS
selectors to XPath expressions.

__construct(bool $html = true)   X-Ref

param: bool $html Whether HTML support should be enabled. Disable it for XML documents

toXPath($cssExpr, $prefix = 'descendant-or-self::')   X-Ref
Translates a CSS expression to its XPath equivalent.

Optionally, a prefix can be added to the resulting XPath
expression with the $prefix parameter.

param: string $cssExpr The CSS expression
param: string $prefix  An optional prefix for the XPath expression
return: string