Changeset 19 for types/PointerOneToMany.php
- Timestamp:
- Oct 22, 2008, 9:12:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/PointerOneToMany.php
r11 r19 1 1 <?php 2 2 3 function TypePointerOneToManyOnView($Item) 3 class TypePointerOneToMany 4 4 { 5 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 6 return($Output); 5 function OnView($Item) 6 { 7 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 8 return($Output); 9 } 10 11 function OnEdit($Item) 12 { 13 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 14 return($Output); 15 } 16 17 function OnLoad($Item) 18 { 19 return($_POST[$Item['Name']]); 20 } 7 21 } 8 22 9 function TypePointerOneToManyOnEdit($Item) 10 { 11 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 12 return($Output); 13 } 14 15 function TypePointerOneToManyOnLoad($Item) 16 { 17 return($_POST[$Item['Name']]); 18 } 23 $TypeDefinitionList['PointerOneToMany'] = new TypePointerOneToMany; 19 24 20 25 ?>
Note:
See TracChangeset
for help on using the changeset viewer.