Changeset 501 for trunk/Common/Form/Types/Enumeration.php
- Timestamp:
- Mar 10, 2013, 8:15:46 PM (11 years ago)
- Location:
- trunk/Common/Form
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/Enumeration.php
r498 r501 7 7 function OnView($Item) 8 8 { 9 $Type = $this-> System->Type->GetTypeDefinition($Item['Type']);9 $Type = $this->FormManager->Type->GetTypeDefinition($Item['Type']); 10 10 if(array_key_exists($Item['Value'], $Type['Parameters']['States'])) 11 11 $Output = $Type['Parameters']['States'][$Item['Value']]; … … 16 16 function OnEdit($Item) 17 17 { 18 $Type = $this-> System->Type->GetTypeDefinition($Item['Type']);18 $Type = $this->FormManager->Type->GetTypeDefinition($Item['Type']); 19 19 $Output = '<select name="'.$Item['Name'].'">'; 20 20 if(array_key_exists('Null', $Item) and $Item['Null'])
Note:
See TracChangeset
for help on using the changeset viewer.