Changeset 29 for types/DateTime.php
- Timestamp:
- Dec 9, 2008, 1:24:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/DateTime.php
r22 r29 1 1 <?php 2 2 3 class TypeDateTime 3 class TypeDateTime extends TypeBase 4 4 { 5 var $DatabaseCompareOperators = array('Rovno' => '=', 'Nerovno' => '!=', 'Menší' => '<', 'Větší' => '>'); 6 5 7 function OnView($Item) 6 8 { … … 79 81 $_POST[$Item['Name'].'-hour'].':'.$_POST[$Item['Name'].'-minute'].':'.$_POST[$Item['Name'].'-second']); 80 82 } 83 84 function DatabaseEscape($Value) 85 { 86 return('"'.addslashes($Value).'"'); 87 } 81 88 } 82 89
Note:
See TracChangeset
for help on using the changeset viewer.