1 | <?php |
||
7 | abstract class DataTable extends BaseDataTable |
||
8 | { |
||
9 | /** |
||
10 | * Get attributes for a "static" column that can not be |
||
11 | * ordered, searched, nor exported. |
||
12 | * |
||
13 | * @param string $name |
||
14 | * @param array $attributes |
||
15 | * @return $this |
||
16 | */ |
||
17 | protected function staticColumn($name, array $attributes = []) |
||
32 | |||
33 | /** |
||
34 | * Return a render Closure for link. |
||
35 | * |
||
36 | * @param string $prefix |
||
37 | * @param string $suffix |
||
38 | * @param string $data |
||
39 | * @param string $content |
||
40 | * @return Closure |
||
41 | */ |
||
42 | protected function linkRender($prefix = '', $suffix = '', $data = 'data', $content = 'data') |
||
59 | |||
60 | /** |
||
61 | * Get the avatar column data. |
||
62 | * |
||
63 | * @param string $avatar |
||
64 | * @param string $originalAvatar |
||
65 | * @param string $id |
||
66 | * @param string $class |
||
67 | * @param string $style |
||
68 | * @return string |
||
69 | */ |
||
70 | protected function avatarColumnData($avatar, $originalAvatar = null, $id = null, $class = 'img-circle', $style = 'width:28px') |
||
82 | |||
83 | /** |
||
84 | * Get filename for export. |
||
85 | * |
||
86 | * @return string |
||
87 | */ |
||
88 | protected function filename() |
||
92 | |||
93 | /** |
||
94 | * Get default builder parameters. |
||
95 | * |
||
96 | * @return array |
||
97 | */ |
||
98 | protected function getBuilderParameters() |
||
104 | } |
||
105 |