1 | <?php |
||
7 | abstract class DataTable extends BaseDataTable |
||
8 | { |
||
9 | /** |
||
10 | * Get attributes for a "static" column that can not be |
||
11 | * ordered, searched, or 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 <a> link. |
||
35 | * |
||
36 | * @param string $url "/uri/to/{data}/{full.otherData}" |
||
37 | * @param string $content |
||
38 | * @return Closure |
||
39 | */ |
||
40 | protected function linkRender($url = '{data}', $content = '{data}') |
||
56 | |||
57 | /** |
||
58 | * Parse the given string, return the emmbed Javascript string, |
||
59 | * for JS string concat. |
||
60 | * |
||
61 | * @param string $string |
||
62 | * @return string |
||
63 | */ |
||
64 | protected function parseForEmbedJsString($string) |
||
68 | |||
69 | /** |
||
70 | * Get filename for export. |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function filename() |
||
78 | |||
79 | /** |
||
80 | * Get default builder parameters. |
||
81 | * |
||
82 | * @return array |
||
83 | */ |
||
84 | protected function getBuilderParameters() |
||
90 | } |
||
91 |