55 ->getVar($obj, $key, $format);
71 if (!isset($dtypes[
$name])) {
72 $className =
'Xoops\Core\Kernel\Dtype\Dtype' . ucfirst($name);
73 @$dtype =
new $className();
75 trigger_error(
"Dtype '{$name}' not found", E_USER_WARNING);
80 $dtypes[
$name] = $dtype;
83 return $dtypes[
$name];
96 $name = $obj->vars[$key][
'data_type'];
98 if (isset($lNames[
$name])) {
99 return $lNames[
$name];
112 1 =>
'textbox', 2 =>
'textarea', 3 =>
'int', 4 =>
'url', 5 =>
'email', 6 =>
'array', 7 =>
'other',
113 8 =>
'source', 9 =>
'stime', 10 =>
'mtime', 11 =>
'ltime', 13 =>
'float', 14 =>
'decimal', 15 =>
'enum'
static getVar(XoopsObject $obj, $key, $format)
static cleanVar(XoopsObject $obj, $key, $quote=true)
static getDtypeName(XoopsObject $obj, $key)