Changeset 8 for types/PointerOneToMany.php
- Timestamp:
- Sep 29, 2008, 2:35:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/PointerOneToMany.php
r5 r8 1 1 <?php 2 2 3 function TypePointerOneToManyViewHtml($Type, $ Parameter, $Table, $Id)3 function TypePointerOneToManyViewHtml($Type, $Item) 4 4 { 5 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$ Table.'&ParentColumn='.$Id.'">Seznam</a>';5 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 6 6 return($Output); 7 7 } 8 8 9 function TypePointerOneToManyEditHtml($Type, $ Parameter, $Table, $Id)9 function TypePointerOneToManyEditHtml($Type, $Item) 10 10 { 11 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$ Table.'&ParentColumn='.$Id.'">Seznam</a>';11 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 12 12 return($Output); 13 13 }
Note:
See TracChangeset
for help on using the changeset viewer.