19 require_once(BASE.
"wcmf/lib/util/class.Message.php");
20 require_once(BASE.
"wcmf/lib/persistence/converter/class.DataConverter.php");
36 if ($type ==
'data_date' && $data !=
'')
38 list($year, $month, $day) = split(
'-', $data);
39 $data = date(
"d.m.Y", mktime(3, 0, 0, $month, $day, $year));
42 $trans = get_html_translation_table(HTML_ENTITIES);
43 $trans = array_flip($trans);
44 $data = strtr(stripslashes(stripslashes($data)), $trans);
53 if ($type ==
'data_date' && $data !=
'')
55 list($day, $month, $year) = split(
'\.', $data);
56 $data = date(
"Y-m-d", mktime(3, 0, 0, $month, $day, $year));
59 return htmlspecialchars($data);
convertStorageToApplication($data, $type, $name)
DataConverter is the base class for all converter classes. It defines the interface for converting da...
XMLDataConverter converts data between storage and XML files.
convertApplicationToStorage($data, $type, $name)