24 define(
"VARTYPE_INTEGER",
"1");
25 define(
"VARTYPE_STRING",
"2");
26 define(
"VARTYPE_DECIMAL",
"3");
27 define(
"VARTYPE_SCIENTIFIC",
"4");
28 define(
"VARTYPE_BOOLEAN",
"5");
29 define(
"VARTYPE_ENUMERATED",
"6");
30 define(
"VARTYPE_SET",
"7");
54 $this->interpretvar = array();
59 $this->varname = $a_varname;
69 switch (strtolower($a_vartype)) {
108 $this->defaultval = $a_defaultval;
118 $this->minvalue = $a_minvalue;
128 $this->maxvalue = $a_maxvalue;
138 $this->members = $a_members;
148 $this->cutvalue = $a_cutvalue;
168 array_push($this->interpretvar, $a_interpretvar);
setDefaultval($a_defaultval)
addInterpretvar($a_interpretvar)