Changeset 887 for trunk/Common/Form/Types/Hidden.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/Hidden.php
r874 r887 11 11 } 12 12 13 function OnView( $Item)13 function OnView(array $Item): ?string 14 14 { 15 15 $Output = $Item['Value']; … … 17 17 } 18 18 19 function OnEdit( $Item)19 function OnEdit(array $Item): string 20 20 { 21 21 $Output = '<input type="hidden" name="'.$Item['Name'].'" value="'.$Item['Value'].'" />'; … … 23 23 } 24 24 25 function OnLoad( $Item)25 function OnLoad(array $Item): ?string 26 26 { 27 27 return $_POST[$Item['Name']];
Note:
See TracChangeset
for help on using the changeset viewer.