Changeset 442 for trunk/is/index.php
- Timestamp:
- Oct 14, 2012, 9:27:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/is/index.php
r440 r442 180 180 { 181 181 //$Output .= '<td>'.$Row[$ItemIndex].'</td>'; 182 $UseType = $UseType = $FormItem['Type']; 182 183 if(array_key_exists($FormItem['Type'], $FormTypes)) 183 184 { … … 186 187 $FormTypes[$FormItem['Type']]); 187 188 if($FormTypes[$FormItem['Type']]['Type'] == 'Reference') 188 $Value = $this->System->Type->ExecuteTypeEvent('OneToMany', 'OnView', 189 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex, 190 'Type' => $FormItem['Type'])); 191 else 189 $UseType = 'OneToMany'; 190 else 192 191 if($FormTypes[$FormItem['Type']]['Type'] == 'Enumeration') 193 $Value = $this->System->Type->ExecuteTypeEvent('Enumeration', 'OnView', 194 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex, 195 'Type' => $FormItem['Type'])); 196 } else $Value = $this->System->Type->ExecuteTypeEvent($FormItem['Type'], 'OnView', 197 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex)); 192 $UseType = 'Enumeration'; 193 } 194 $Row[$ItemIndex] = $this->System->Type->ExecuteTypeEvent($UseType, 'OnLoadDb', 195 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex, 196 'Type' => $FormItem['Type'])); 197 $Value = $this->System->Type->ExecuteTypeEvent($UseType, 'OnView', 198 array('Value' => $Row[$ItemIndex], 'Name' => $ItemIndex, 199 'Type' => $FormItem['Type'])); 198 200 if($Value == '') $Value = ' '; 199 201 $Output .= '<td>'.$Value.'</td>';
Note:
See TracChangeset
for help on using the changeset viewer.