Changeset 29 for types/String.php
- Timestamp:
- Dec 9, 2008, 1:24:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/String.php
r22 r29 1 1 <?php 2 2 3 class TypeString 3 class TypeString extends TypeBase 4 4 { 5 var $DatabaseCompareOperators = array('Jako' => 'LIKE', 'Rovno' => '=', 'Nerovno' => '!='); 6 5 7 function OnView($Item) 6 8 { … … 19 21 return($_POST[$Item['Name']]); 20 22 } 23 24 function DatabaseEscape($Value) 25 { 26 return('"'.addslashes($Value).'"'); 27 } 21 28 } 22 29
Note:
See TracChangeset
for help on using the changeset viewer.