| Total Complexity | 14 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait QueryTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param TableFieldEntity $field |
||
| 11 | * @param array $values First entries |
||
| 12 | * @param bool $update |
||
| 13 | * |
||
| 14 | * @return string[] |
||
| 15 | */ |
||
| 16 | private function getEditFunctionNames(TableFieldEntity $field, array $values, bool $update): array |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Functions displayed in edit form |
||
| 36 | * |
||
| 37 | * @param TableFieldEntity $field Single field from fields() |
||
| 38 | * |
||
| 39 | * @return array |
||
| 40 | */ |
||
| 41 | public function editFunctions(TableFieldEntity $field): array |
||
| 52 |