1 | <?php |
||
9 | class Builder extends BaseBuilder |
||
10 | { |
||
11 | /** |
||
12 | * Set table "id" attribute. |
||
13 | * |
||
14 | * @param string $id |
||
15 | * @return $this |
||
16 | */ |
||
17 | public function setTableId($id) |
||
21 | |||
22 | /** |
||
23 | * Add classes to table "class" attribute. |
||
24 | * |
||
25 | * @param string ...$classes |
||
26 | * @return $this |
||
27 | */ |
||
28 | public function addTableClass(...$classes) |
||
34 | |||
35 | /** |
||
36 | * Remove classes from table "class" attribute. |
||
37 | * |
||
38 | * @param string ...$classes |
||
39 | * @return $this |
||
40 | */ |
||
41 | public function removeTableClass(...$classes) |
||
47 | |||
48 | /** |
||
49 | * Get table "class" attribute as array. |
||
50 | * |
||
51 | * @return array |
||
52 | */ |
||
53 | public function getTableClasses() |
||
57 | |||
58 | /** |
||
59 | * Change table style to striped. |
||
60 | * |
||
61 | * @return $this |
||
62 | */ |
||
63 | public function stripedTable() |
||
67 | |||
68 | /** |
||
69 | * Change table style to hovered. |
||
70 | * |
||
71 | * @return $this |
||
72 | */ |
||
73 | public function hoveredTable() |
||
77 | } |
||
78 |