Changeset 19 for types/IPv4Address.php
- Timestamp:
- Oct 22, 2008, 9:12:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/IPv4Address.php
r11 r19 1 1 <?php 2 2 3 function TypeIPv4AddressOnView($Item) 3 class TypeIPv4Address 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 TypeIPv4AddressOnEdit($Item) 10 { 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; 12 return($Output); 13 } 23 $TypeDefinitionList['TypeIPv4Address'] = new TypeIPv4Address; 14 24 15 function TypeIPv4AddressOnCheck($Parameter, $Table, $Id)16 {17 return(true);18 }19 20 function TypeIPv4AddressOnLoad($Item)21 {22 return($_POST[$Item['Name']]);23 }24 25 ?>
Note:
See TracChangeset
for help on using the changeset viewer.