Changeset 8 for types/Enumeration.php
- Timestamp:
- Sep 29, 2008, 2:35:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/Enumeration.php
r5 r8 1 1 <?php 2 2 3 function TypeEnumerationViewHtml($Type, $ Parameter, $Table, $Id)3 function TypeEnumerationViewHtml($Type, $Item) 4 4 { 5 $Output = $Type['Parameters'][$ Parameter];5 $Output = $Type['Parameters'][$Item['Value']]; 6 6 return($Output); 7 7 } 8 8 9 function TypeEnumerationEditHtml($Type, $ Parameter, $Table, $Id)9 function TypeEnumerationEditHtml($Type, $Item) 10 10 { 11 $Output = '<select name=" %name%">';11 $Output = '<select name="'.$Item['Name'].'">'; 12 12 foreach($Type['Parameters'] as $Index => $StateName) 13 13 {
Note:
See TracChangeset
for help on using the changeset viewer.