Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Controller;
- class Controller extends Controller
- {
- /**
- * @Route()
- */
- public function listAction(Request $request)
- {
- $collection = $this->get('meetz')->collection('Accounting:Lib\Transaction');
- $filter = $this->get('core.sencha.grid.filter');
- $filter->bind($request, $collection);
- return $collection->toArray();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement