1 | <?php |
||
11 | class Request extends IlluminateRequest |
||
12 | { |
||
13 | /** |
||
14 | * Check if request uses legacy code |
||
15 | * |
||
16 | * @throws Exception |
||
17 | */ |
||
18 | public function checkLegacyCode() |
||
26 | |||
27 | /** |
||
28 | * Check if Datatables is searchable. |
||
29 | * |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function isSearchable() |
||
36 | |||
37 | /** |
||
38 | * Get column's search value. |
||
39 | * |
||
40 | * @param integer $index |
||
41 | * @return string |
||
42 | */ |
||
43 | public function columnKeyword($index) |
||
47 | |||
48 | /** |
||
49 | * Check if Datatables must uses regular expressions |
||
50 | * |
||
51 | * @param integer $index |
||
52 | * @return string |
||
53 | */ |
||
54 | public function isRegex($index) |
||
58 | |||
59 | /** |
||
60 | * Get orderable columns |
||
61 | * |
||
62 | * @return array |
||
63 | */ |
||
64 | public function orderableColumns() |
||
81 | |||
82 | /** |
||
83 | * Check if Datatables ordering is enabled. |
||
84 | * |
||
85 | * @return bool |
||
86 | */ |
||
87 | public function isOrderable() |
||
91 | |||
92 | /** |
||
93 | * Check if a column is orderable. |
||
94 | * |
||
95 | * @param integer $index |
||
96 | * @return bool |
||
97 | */ |
||
98 | public function isColumnOrderable($index) |
||
102 | |||
103 | /** |
||
104 | * Get searchable column indexes |
||
105 | * |
||
106 | * @return array |
||
107 | */ |
||
108 | public function searchableColumnIndex() |
||
119 | |||
120 | /** |
||
121 | * Check if a column is searchable. |
||
122 | * |
||
123 | * @param integer $i |
||
124 | * @param bool $column_search |
||
125 | * @return bool |
||
126 | */ |
||
127 | public function isColumnSearchable($i, $column_search = true) |
||
136 | |||
137 | /** |
||
138 | * Get global search keyword |
||
139 | * |
||
140 | * @return string |
||
141 | */ |
||
142 | public function keyword() |
||
146 | |||
147 | /** |
||
148 | * Get column identity from input or database. |
||
149 | * |
||
150 | * @param integer $i |
||
151 | * @return string |
||
152 | */ |
||
153 | public function columnName($i) |
||
157 | |||
158 | /** |
||
159 | * Check if Datatables allow pagination. |
||
160 | * |
||
161 | * @return bool |
||
162 | */ |
||
163 | public function isPaginationable() |
||
167 | } |
||
168 |