source: trunk/types/PointerOneToMany.php

Last change on this file was 29, checked in by george, 16 years ago
  • Upraveno: Hledání položek v seznamu dle zadaného filtru.
File size: 594 bytes
Line 
1<?php
2
3class TypePointerOneToMany extends TypeBase
4{
5 function OnView($Item)
6 {
7 $Output = '<a href="?Action=ShowList&amp;TableId='.$Type['TypeDefinition'].'&amp;ParentTable='.$Item['SourceTable'].'&amp;ParentColumn='.$Item['SourceItemId'].'">Seznam</a>';
8 return($Output);
9 }
10
11 function OnEdit($Item)
12 {
13 $Output = '<a href="?Action=ShowList&amp;TableId='.$Type['TypeDefinition'].'&amp;ParentTable='.$Item['SourceTable'].'&amp;ParentColumn='.$Item['SourceItemId'].'">Seznam</a>';
14 return($Output);
15 }
16
17 function OnLoad($Item)
18 {
19 return($_POST[$Item['Name']]);
20 }
21}
22
23?>
Note: See TracBrowser for help on using the repository browser.