| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Checkbox |
||
| 16 | { |
||
| 17 | use DefaultOption, Join; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param array $options Array containing key and value |
||
| 21 | * @return $this |
||
| 22 | * @example options(['foo'=>'bar']) |
||
| 23 | */ |
||
| 24 | public function options($options) { |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param $table string |
||
| 36 | * @param $key_field string |
||
| 37 | * @param $display_field string |
||
| 38 | * @param $SQLCondition string|callable |
||
| 39 | */ |
||
| 40 | public function optionsFromTable($table, $key_field, $display_field, $SQLCondition = null) { |
||
| 53 | } |
||
| 54 | } |