| 1 |
# seek (protected) |
| 2 |
|
| 3 |
```php |
| 4 |
seek ( |
| 5 |
string $selector |
| 6 |
, array &$ret |
| 7 |
, string $parent_cmd |
| 8 |
[, bool $lowercase = false ] |
| 9 |
) |
| 10 |
``` |
| 11 |
|
| 12 |
| Parameter | Description |
| 13 |
| --------- | ----------- |
| 14 |
| `selector` | The current selector. |
| 15 |
| `ret` | Previous return value (starting point). |
| 16 |
| `parent_cmd` | The combinator used before the current selector. |
| 17 |
| `lowercase` | Matches tag names case insensitive (lowercase) if enabled. |
| 18 |
|
| 19 |
Starts by searching for child elements of `$ret` that match the specified selector. Adds matching elements to `$ret` (for the next iteration). |