Changeset 887 for trunk/Common/Form/Types/OneToMany.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/OneToMany.php
r874 r887 5 5 class TypeOneToMany extends TypeBase 6 6 { 7 var$EditActions;7 public array $EditActions; 8 8 9 function OnView( $Item)9 function OnView(array $Item): ?string 10 10 { 11 11 $Type = $this->FormManager->Type->TypeDefinitionList[$Item['Type']]; … … 18 18 } 19 19 20 function OnEdit( $Item)20 function OnEdit(array $Item): string 21 21 { 22 22 $Output = '<select name="'.$Item['Name'].'" id="'.$Item['Name'].'">'; … … 54 54 } 55 55 56 function OnLoad( $Item)56 function OnLoad(array $Item): ?string 57 57 { 58 58 if ($_POST[$Item['Name']] == '') return NULL; … … 60 60 } 61 61 62 function OnLoadDb( $Item)62 function OnLoadDb(array $Item): ?string 63 63 { 64 64 if ($Item['Value'] == '') return NULL; … … 66 66 } 67 67 68 function OnFilterName( $Item)68 function OnFilterName(array $Item): string 69 69 { 70 70 return '`'.$Item['Name'].'_Filter`'; 71 71 } 72 72 73 function OnFilterNameQuery( $Item)73 function OnFilterNameQuery(array $Item): string 74 74 { 75 75 $Type = $this->FormManager->Type->TypeDefinitionList[$Item['Type']];
Note:
See TracChangeset
for help on using the changeset viewer.