Changeset 887 for trunk/Common/Form/Types/Password.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/Password.php
r874 r887 7 7 class TypePassword extends TypeBase 8 8 { 9 function OnView( $Item)9 function OnView(array $Item): ?string 10 10 { 11 11 $Output = ''; … … 15 15 } 16 16 17 function OnEdit( $Item)17 function OnEdit(array $Item): string 18 18 { 19 19 $Output = '<input type="password" name="'.$Item['Name'].'" value=""/>'; … … 21 21 } 22 22 23 function OnLoad( $Item)23 function OnLoad(array $Item): ?string 24 24 { 25 25 global $Database; … … 42 42 } 43 43 44 function OnSaveDb( $Item)44 function OnSaveDb(array $Item): string 45 45 { 46 46 if ($Item['Value'] == '') return ''; … … 51 51 } 52 52 53 function OnLoadDb( $Item)53 function OnLoadDb(array $Item): ?string 54 54 { 55 55 return '';
Note:
See TracChangeset
for help on using the changeset viewer.