1 | <?php |
||
5 | class IndexPage extends Authenticated |
||
6 | { |
||
7 | /** |
||
8 | * @param string $formId |
||
9 | * @param array[] $filters Example: |
||
10 | * ```php |
||
11 | * [ |
||
12 | * ['textarea' => ['placeholder' => 'Domain names (one per row)']], |
||
13 | * ['input' => [ |
||
14 | * 'id' => 'domainsearch-created_from', |
||
15 | * 'name' => 'date-picker', |
||
16 | * ]], |
||
17 | * ] |
||
18 | *``` |
||
19 | */ |
||
20 | public function containsFilters(string $formId, array $filters): void |
||
32 | |||
33 | /** |
||
34 | * @param array[] $buttons Example: |
||
35 | * ```php |
||
36 | * [ |
||
37 | * ["//button[@type='button']" => 'Set IPs'], |
||
38 | * ] |
||
39 | *``` |
||
40 | */ |
||
41 | public function containsBulkButtons(array $buttons): void |
||
51 | |||
52 | /** |
||
53 | * @param string $formId |
||
54 | * @param string[] $columnNames array of column names |
||
55 | */ |
||
56 | public function containsColumns(string $formId, array $columnNames): void |
||
64 | } |
||
65 |