Changeset 29 for types/Date.php
- Timestamp:
- Dec 9, 2008, 1:24:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/Date.php
r22 r29 1 1 <?php 2 2 3 class TypeDate 3 class TypeDate extends TypeBase 4 4 { 5 var $DatabaseCompareOperators = array('Rovno' => '=', 'Nerovno' => '!=', 'Menší' => '<', 'Větší' => '>'); 6 5 7 function OnView($Item) 6 8 { … … 50 52 return($_POST[$Item['Name'].'-year'].'-'.$_POST[$Item['Name'].'-month'].'-'.$_POST[$Item['Name'].'-day']); 51 53 } 54 55 function DatabaseEscape($Value) 56 { 57 return('"'.addslashes($Value).'"'); 58 } 52 59 } 53 60
Note:
See TracChangeset
for help on using the changeset viewer.