Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
17 | public function jsonAction(Request $request) |
||
18 | { |
||
19 | $registry = $this->get('crossknowledge_datatable.registry'); |
||
20 | $dataTable = $registry->retrieveByTableId($request->get('tableid')); |
||
21 | $dataTable->handleRequest($request); |
||
22 | |||
23 | return $this->get('crossknowledge_datatable.json_renderer')->renderJsonResponse($dataTable); |
||
24 | } |
||
25 | } |
||
26 |