Changeset 19 for types/Float.php
- Timestamp:
- Oct 22, 2008, 9:12:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/Float.php
r14 r19 1 1 <?php 2 2 3 function TypeFloatOnView($Item) 3 class TypeFloat 4 4 { 5 $Output = $Item['Value']; 6 return($Output); 5 function OnView($Item) 6 { 7 $Output = $Item['Value']; 8 return($Output); 9 } 10 11 function OnEdit($Item) 12 { 13 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; 14 return($Output); 15 } 16 17 function OnLoad($Item) 18 { 19 return($_POST[$Item['Name']]); 20 } 7 21 } 8 22 9 function TypeFloatOnEdit($Item) 10 { 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; 12 return($Output); 13 } 14 15 function TypeFloatOnLoad($Item) 16 { 17 return($_POST[$Item['Name']]); 18 } 23 $TypeDefinitionList['Float'] = new TypeFloat; 19 24 20 25 ?>
Note:
See TracChangeset
for help on using the changeset viewer.