Changeset 607 for trunk/Common/Form
- Timestamp:
 - Dec 12, 2013, 10:19:00 PM (12 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/Common/Form/Types/Integer.php (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/Common/Form/Types/Integer.php
r548 r607 23 23 return($_POST[$Item['Name']]); 24 24 } 25 26 function Validate($Item) 27 { 28 if($Item['Null'] and ($Item['Value'] == '')) return(true); 29 return(filter_var($Item['Value'], FILTER_VALIDATE_INT)); 30 } 31 32 function GetValidationFormat() 33 { 34 return('číselná hodnota'); 35 } 25 36 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  