Changeset 887 for trunk/Common/Form/Types/OneToMany2.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/OneToMany2.php
r874 r887 5 5 class TypeOneToMany2 extends TypeBase 6 6 { 7 function OnView( $Item)7 function OnView(array $Item): ?string 8 8 { 9 9 $Output = '<a href="?Action=ShowList&TableId='.$Item['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; … … 11 11 } 12 12 13 function OnEdit( $Item)13 function OnEdit(array $Item): string 14 14 { 15 15 $Output = '<a href="?Action=ShowList&TableId='.$Item['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; … … 17 17 } 18 18 19 function OnLoad( $Item)19 function OnLoad(array $Item): ?string 20 20 { 21 21 return $_POST[$Item['Name']];
Note:
See TracChangeset
for help on using the changeset viewer.