Свойство | Type | Description | |
---|---|---|---|
$selector | string | the CSS selector |
Méthode | Description | |
---|---|---|
__construct ( string $selector ) | Constructor for setting the CSS selector in this class | |
toXPath ( ) : string | Convert the CSS selector to an XPath selector |
Méthode | Description | |
---|---|---|
get_part_xpath ( string $part, array $stack ) : string | Interal method for parsing the CSS parts into XPath parts |
public __construct ( string $selector ) | ||
$selector | string | A CSS selector |