@@ 73-93 (lines=21) @@ | ||
70 | * |
|
71 | * @return array |
|
72 | */ |
|
73 | protected function getBuilderParameters() |
|
74 | { |
|
75 | return [ |
|
76 | 'dom' => 'Bfrtip', |
|
77 | 'order' => [ [ 0, 'asc' ] ], |
|
78 | 'buttons' => [ |
|
79 | 'create', |
|
80 | [ 'extend' => 'collection', 'text' => '<i class="fa fa-file-excel-o"></i> Export', 'buttons' => [ |
|
81 | [ 'extend' => 'csv', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
82 | [ 'extend' => 'excel', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
83 | ] ], |
|
84 | [ 'extend' => 'print', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
85 | 'reset', |
|
86 | 'reload', |
|
87 | ], |
|
88 | 'paging' => true, |
|
89 | 'searching' => true, |
|
90 | 'info' => true, |
|
91 | 'searchDelay' => 500, |
|
92 | ]; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Get filename for export. |
@@ 76-96 (lines=21) @@ | ||
73 | * |
|
74 | * @return array |
|
75 | */ |
|
76 | protected function getBuilderParameters() |
|
77 | { |
|
78 | return [ |
|
79 | 'dom' => 'Bfrtip', |
|
80 | 'order' => [ [ 0, 'desc' ] ], |
|
81 | 'buttons' => [ |
|
82 | 'create', |
|
83 | [ 'extend' => 'collection', 'text' => '<i class="fa fa-file-excel-o"></i> Export', 'buttons' => [ |
|
84 | [ 'extend' => 'csv', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
85 | [ 'extend' => 'excel', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
86 | ] ], |
|
87 | [ 'extend' => 'print', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
88 | 'reset', |
|
89 | 'reload', |
|
90 | ], |
|
91 | 'paging' => true, |
|
92 | 'searching' => true, |
|
93 | 'info' => true, |
|
94 | 'searchDelay' => 500, |
|
95 | ]; |
|
96 | } |
|
97 | ||
98 | /** |
|
99 | * Get filename for export. |
@@ 78-98 (lines=21) @@ | ||
75 | * |
|
76 | * @return array |
|
77 | */ |
|
78 | protected function getBuilderParameters() |
|
79 | { |
|
80 | return [ |
|
81 | 'dom' => 'Bfrtip', |
|
82 | 'order' => [ [ 0, 'desc' ] ], |
|
83 | 'buttons' => [ |
|
84 | 'create', |
|
85 | [ 'extend' => 'collection', 'text' => '<i class="fa fa-file-excel-o"></i> Export', 'buttons' => [ |
|
86 | [ 'extend' => 'csv', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
87 | [ 'extend' => 'excel', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
88 | ] ], |
|
89 | [ 'extend' => 'print', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
90 | 'reset', |
|
91 | 'reload', |
|
92 | ], |
|
93 | 'paging' => true, |
|
94 | 'searching' => true, |
|
95 | 'info' => true, |
|
96 | 'searchDelay' => 500, |
|
97 | ]; |
|
98 | } |
|
99 | ||
100 | /** |
|
101 | * Get filename for export. |
@@ 69-89 (lines=21) @@ | ||
66 | * |
|
67 | * @return array |
|
68 | */ |
|
69 | protected function getBuilderParameters() |
|
70 | { |
|
71 | return [ |
|
72 | 'dom' => 'Bfrtip', |
|
73 | 'order' => [ [ 0, 'asc' ] ], |
|
74 | 'buttons' => [ |
|
75 | 'create', |
|
76 | [ 'extend' => 'collection', 'text' => '<i class="fa fa-file-excel-o"></i> Export', 'buttons' => [ |
|
77 | [ 'extend' => 'csv', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
78 | [ 'extend' => 'excel', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
79 | ] ], |
|
80 | [ 'extend' => 'print', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
81 | 'reset', |
|
82 | 'reload', |
|
83 | ], |
|
84 | 'paging' => true, |
|
85 | 'searching' => true, |
|
86 | 'info' => true, |
|
87 | 'searchDelay' => 500, |
|
88 | ]; |
|
89 | } |
|
90 | ||
91 | /** |
|
92 | * Get filename for export. |
@@ 113-132 (lines=20) @@ | ||
110 | * |
|
111 | * @return array |
|
112 | */ |
|
113 | protected function getBuilderParameters() |
|
114 | { |
|
115 | return [ |
|
116 | 'dom' => 'Bfrtip', |
|
117 | 'order' => [ [ 0, 'desc' ] ], |
|
118 | 'buttons' => [ |
|
119 | [ 'extend' => 'collection', 'text' => '<i class="fa fa-file-excel-o"></i> Export', 'buttons' => [ |
|
120 | [ 'extend' => 'csv', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
121 | [ 'extend' => 'excel', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
122 | ] ], |
|
123 | [ 'extend' => 'print', 'exportOptions' => [ 'modifier' => [ 'search' => true ] ] ], |
|
124 | 'reset', |
|
125 | 'reload', |
|
126 | ], |
|
127 | 'paging' => true, |
|
128 | 'searching' => true, |
|
129 | 'info' => true, |
|
130 | 'searchDelay' => 500, |
|
131 | ]; |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Get filename for export. |