- Timestamp:
- Oct 27, 2008, 5:10:59 PM (16 years ago)
- Location:
- types
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
types/PointerOneToOne.php
r22 r24 9 9 //print_r($Item); 10 10 $Columns = ''; 11 $TargetTable = $Type['Parameters'][0]; 12 13 $List = GetListDefinition($TargetTable); 11 $List = GetListDefinition($Type['Parameters'][0]); 12 $TargetTable = $List['TableName']; 14 13 foreach($List['Items'] as $ListItem) 15 14 if($ListItem['VisibleInPointer'] == 1) $Columns .= '`'.$ListItem['Name'].'`," ",'; … … 28 27 29 28 $Columns = ''; 30 $TargetTable = $Type['Parameters'][0]; 31 32 $List = GetListDefinition($TargetTable); 29 $List = GetListDefinition($Type['Parameters'][0]); 30 $TargetTable = $List['TableName']; 33 31 foreach($List['Items'] as $ListItem) 34 32 if($ListItem['VisibleInPointer'] == 1) $Columns .= 't1.`'.$ListItem['Name'].'`," ",'; -
types/include.php
r23 r24 21 21 define('TypeStringId', 3); 22 22 define('TypeDateId', 2); 23 define('TypePointerOneToOneId', 12); 24 define('TypePointerOneToManyId', 13); 23 25 define('TypePasswordId', 15); 24 26 define('TypeFloatId', 16);
Note:
See TracChangeset
for help on using the changeset viewer.