1 | <?php |
||
5 | class CustomStructure implements Structure |
||
6 | { |
||
7 | /** @var array */ |
||
8 | protected $data = []; |
||
9 | |||
10 | /** |
||
11 | * Add row class to table |
||
12 | * @param string $table |
||
13 | * @param string $class |
||
14 | * @return CustomStructure |
||
15 | */ |
||
16 | 50 | public function addActiveRowClass($table, $class) |
|
21 | |||
22 | /** |
||
23 | * Add selection class to table |
||
24 | * @param string $table |
||
25 | * @param string $class |
||
26 | * @return CustomStructure |
||
27 | */ |
||
28 | 50 | public function addSelectionClass($table, $class) |
|
33 | |||
34 | /** |
||
35 | * Fetch row class by table |
||
36 | * @param string $table |
||
37 | * @return string |
||
38 | */ |
||
39 | 30 | public function getActiveRowClass($table) |
|
45 | |||
46 | /** |
||
47 | * Fetch selection class by table |
||
48 | * @param string $table |
||
49 | * @return string |
||
50 | */ |
||
51 | 8 | public function getSelectionClass($table) |
|
57 | } |
||
58 |