19 declare(strict_types=1);
50 $this->varname = $a_varname;
60 switch (strtolower($a_vartype)) {
63 $this->vartype = self::VARTYPE_INTEGER;
67 $this->vartype = self::VARTYPE_STRING;
71 $this->vartype = self::VARTYPE_DECIMAL;
75 $this->vartype = self::VARTYPE_SCIENTIFIC;
79 $this->vartype = self::VARTYPE_BOOLEAN;
83 $this->vartype = self::VARTYPE_ENUMERATED;
87 $this->vartype = self::VARTYPE_SET;
99 $this->defaultval = $a_defaultval;
109 $this->minvalue = $a_minvalue;
119 $this->maxvalue = $a_maxvalue;
129 $this->members = $a_members;
139 $this->cutvalue = $a_cutvalue;
149 $this->content = $a_content;
setCutvalue(string $a_cutvalue)
setMinvalue(string $a_minvalue)
setMaxvalue(string $a_maxvalue)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
setVartype(string $a_vartype)
setDefaultval(string $a_defaultval)
setContent(string $a_content)
setMembers(string $a_members)
setVarname(string $a_varname)