1: <?php
2:
3: /**
4: * This is used for ajax calls.
5: * It just formats the data differently but the work is still done by DbController class.
6: */
7: class DbApiController extends DbController {
8: protected $layout = 'crud::layouts.content';
9: public $displayType = self::XML; //or self::JSON or self::HTML
10:
11: }
12:
13: ?>
14: