Changeset 435 for trunk/forms.php
- Timestamp:
- Oct 12, 2012, 9:56:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forms.php
r434 r435 31 31 if(!array_key_exists($Index, $this->Values) and isset($Item['Default'])) $this->Values[$Index] = $Item['Default']; 32 32 if(array_key_exists($Item['Type'], $FormTypes)) 33 { 33 { 34 34 if(!array_key_exists($Item['Type'], $System->Type->TypeDefinitionList)) 35 35 $System->Type->RegisterType($Item['Type'], '', 36 36 $FormTypes[$Item['Type']]); 37 $Edit = ''.$System->Type->ExecuteTypeEvent('OneToMany', 'OnView', 37 if($FormTypes[$Item['Type']]['Type'] == 'Reference') 38 $Edit = ''.$System->Type->ExecuteTypeEvent('OneToMany', 'OnView', 39 array('Value' => $this->Values[$Index], 'Name' => $Index, 40 'Type' => $Item['Type'])).''; 41 else if($FormTypes[$Item['Type']]['Type'] == 'Enumeration') 42 $Edit = ''.$System->Type->ExecuteTypeEvent('Enumeration', 'OnView', 38 43 array('Value' => $this->Values[$Index], 'Name' => $Index, 39 44 'Type' => $Item['Type'])).'';
Note:
See TracChangeset
for help on using the changeset viewer.