39 $value = $obj->vars[$key][
'value'];
40 switch (strtolower($format)) {
45 if (!is_array($value)) {
47 $value = unserialize($value);
49 $value = is_array($value) ? $value : array();
64 $value = $obj->vars[$key][
'value'];
65 $value = (array)$value;
66 if (!$obj->vars[$key][
'not_gpc']) {
67 $value = array_map(array(&$this->ts,
"stripSlashesGPC"), $value);
69 foreach (array_keys($value) as $key) {
71 $value[$key] = str_replace(
'\\"',
'"', addslashes($value[$key]));
75 $value = serialize($value);
getVar(XoopsObject $obj, $key, $format)
cleanVar(XoopsObject $obj, $key, $quote=true)