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 | * Get render Closure for an <a> link. |
||
35 | * |
||
36 | * @param string $url "/uri/to/{data}/{full.otherData}" |
||
37 | * @param string $content "{data} content" |
||
38 | * @param string $class |
||
39 | * @return Closure |
||
40 | */ |
||
41 | protected function linkRender($url = '{data}', $content = '{data}', $class = '') |
||
58 | |||
59 | /** |
||
60 | * Convert PHP string value to a rendered JavaScript string. |
||
61 | * |
||
62 | * @param string $string |
||
63 | * @return string |
||
64 | */ |
||
65 | protected function getRenderedJsString($string) |
||
69 | |||
70 | /** |
||
71 | * Get filename for export. |
||
72 | * |
||
73 | * @return string |
||
74 | */ |
||
75 | protected function filename() |
||
79 | |||
80 | /** |
||
81 | * Get default builder parameters. |
||
82 | * |
||
83 | * @return array |
||
84 | */ |
||
85 | protected function getBuilderParameters() |
||
91 | } |
||
92 |