Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | trait CbFormLoader |
||
6 | { |
||
7 | public $data_inputan; |
||
8 | |||
9 | public $hide_form = []; |
||
10 | |||
11 | public $buttonCancel = true; |
||
12 | |||
13 | public $button_save = true; |
||
14 | |||
15 | public $addMoreButton = true; |
||
16 | |||
17 | protected function cbFormLoader() |
||
18 | { |
||
19 | $this->data_inputan = $this->form; |
||
20 | $this->data['forms'] = $this->data_inputan; |
||
|
|||
21 | $this->data['addMoreButton'] = $this->addMoreButton; |
||
22 | $this->data['buttonCancel'] = $this->buttonCancel; |
||
23 | $this->data['button_save'] = $this->button_save; |
||
24 | } |
||
25 | |||
26 | private function checkHideForm() |
||
34 | } |
||
35 | } |
||
37 | } |