Changeset 887 for trunk/Common/Form/Types/Enumeration.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/Enumeration.php
r874 r887 5 5 class TypeEnumeration extends TypeBase 6 6 { 7 function OnView($Item) 7 function OnView($Item): ?string 8 8 { 9 9 $Type = $this->FormManager->Type->GetTypeDefinition($Item['Type']); … … 14 14 } 15 15 16 function OnEdit( $Item)16 function OnEdit(array $Item): string 17 17 { 18 18 $Type = $this->FormManager->Type->GetTypeDefinition($Item['Type']); … … 32 32 } 33 33 34 function OnLoad( $Item)34 function OnLoad(array $Item): ?string 35 35 { 36 36 if ($_POST[$Item['Name']] == '') return NULL; … … 38 38 } 39 39 40 function OnLoadDb( $Item)40 function OnLoadDb(array $Item): ?string 41 41 { 42 42 if ($Item['Value'] == '') return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.