39 $value = $obj->vars[$key][
'value'];
40 switch (strtolower($format)) {
46 return htmlspecialchars($value, ENT_QUOTES);
49 return $this->ts->stripSlashesGPC($value);
52 return htmlspecialchars($this->ts->stripSlashesGPC($value), ENT_QUOTES);
69 $value = trim($obj->vars[$key][
'value']);
71 if (!$obj->vars[$key][
'not_gpc']) {
72 $value = $this->ts->stripSlashesGPC($value);
75 $value = str_replace(
'\\"',
'"', $this->
db->quote($value));
getVar(XoopsObject $obj, $key, $format)
cleanVar(XoopsObject $obj, $key, $quote=true)