| Conditions | 4 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function editFunctions(TableFieldEntity $field): array |
||
| 42 | { |
||
| 43 | $update = isset($this->utils->input->values['select']); // || $this->where([]); |
||
| 44 | if ($field->autoIncrement && !$update) { |
||
| 45 | return [$this->utils->trans->lang('Auto Increment')]; |
||
| 46 | } |
||
| 47 | |||
| 48 | $names = $field->null ? ['NULL', ''] : ['']; |
||
| 49 | return $this->getEditFunctionNames($field, $names, $update); |
||
| 50 | } |
||
| 52 |