Свойство | Тип | Описание | |
---|---|---|---|
$pattern | string | Pattern of CSS selectors, modified from 'mootools' | |
$selectors |
Метод | Описание | |
---|---|---|
__construct ( string $selector ) | Constructs with the selector string | |
find ( |
Attempts to find the selectors starting from the given node object. | |
getSelectors ( ) : array | Returns the selectors that where found in __construct |
Метод | Описание | |
---|---|---|
alterNext ( array $rule ) : array | Attempts to figure out what the alteration will be for the next element. | |
flattenOptions ( array $optionsArray ) : array | Flattens the option array. | |
match ( string $operator, string $pattern, string $value ) : boolean | Attempts to match the given arguments with the given operator. | |
parseSelectorString ( string $selector ) | Parses the selector string | |
seek ( array $nodes, array $rule, array $options ) : array | Attempts to find all children that match the rule given. |
public __construct ( string $selector ) | ||
$selector | string |
public find ( |
||
$node | ||
Результат |
protected flattenOptions ( array $optionsArray ) : array | ||
$optionsArray | array | |
Результат | array |
public getSelectors ( ) : array | ||
Результат | array |
protected parseSelectorString ( string $selector ) | ||
$selector | string |
protected string $pattern | ||
Результат | string |