| 1 | <?php |
||
| 8 | class Datatables extends BaseDataTables |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Create an engine instance with configured class. |
||
| 12 | * |
||
| 13 | * @param string $type |
||
| 14 | * @param mixed $source |
||
| 15 | * @return \Yajra\DataTables\Engines\BaseEngine|null |
||
| 16 | */ |
||
| 17 | protected function createEngineForType($type, $source) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get the configured engine class. |
||
| 26 | * |
||
| 27 | * @param string $type |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | protected function getConfiguredEngineClass($type) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function queryBuilder($builder) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function eloquent($builder) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function collection($collection) |
||
| 65 | } |
||
| 66 |