1: <?php
2:
3: namespace Yajra\Datatables\Contracts;
4:
5: /**
6: * Interface DataTableButtonsContract.
7: *
8: * @package Yajra\Datatables\Contracts
9: * @author Arjay Angeles <aqangeles@gmail.com>
10: */
11: interface DataTableButtonsContract
12: {
13: /**
14: * Export to excel file.
15: *
16: * @return mixed
17: */
18: public function excel();
19:
20: /**
21: * Export to CSV file.
22: *
23: * @return mixed
24: */
25: public function csv();
26:
27: /**
28: * Export to PDF file.
29: *
30: * @return mixed
31: */
32: public function pdf();
33:
34: /**
35: * Display printer friendly view.
36: *
37: * @return mixed
38: */
39: public function printPreview();
40: }
41: