1 | <?php |
||
8 | abstract class DataTable extends BaseDataTable |
||
9 | { |
||
10 | /** |
||
11 | * Get attributes for a "static" column that can not be |
||
12 | * ordered, searched, or exported. |
||
13 | * |
||
14 | * @param string $name |
||
15 | * @param array $attributes |
||
16 | * @return array |
||
17 | */ |
||
18 | protected function staticColumn($name, array $attributes = []) |
||
33 | |||
34 | /** |
||
35 | * Convert string into a readable title. |
||
36 | * |
||
37 | * @param string $title |
||
38 | * @return string |
||
39 | */ |
||
40 | protected function getQualifiedTitle($title) |
||
44 | |||
45 | /** |
||
46 | * Get render Closure for an <a> link. |
||
47 | * |
||
48 | * @param string $url "/uri/to/{data}/{full.otherData}" |
||
49 | * @param string $content "{data} content" |
||
50 | * @param string $class |
||
51 | * @return Closure |
||
52 | */ |
||
53 | protected function linkRender($url = '{data}', $content = '{data}', $class = '') |
||
70 | |||
71 | /** |
||
72 | * Convert PHP string value to a rendered JavaScript string. |
||
73 | * |
||
74 | * @param string $string |
||
75 | * @return string |
||
76 | */ |
||
77 | protected function getRenderedJsString($string) |
||
81 | } |
||
82 |