19 declare(strict_types=1);
68 $this->response_type = $a_response_type;
76 $this->response_type = $a_responsetype;
87 public function setIdent(
string $a_ident): void
89 $this->ident = $a_ident;
99 switch (strtolower($a_rcardinality)) {
102 $this->rcardinality = self::R_CARDINALITY_SINGLE;
106 $this->rcardinality = self::R_CARDINALITY_MULTIPLE;
110 $this->rcardinality = self::R_CARDINALITY_ORDERED;
122 switch (strtolower($a_rtiming)) {
125 $this->rtiming = self::RTIMING_NO;
129 $this->rtiming = self::RTIMING_YES;
141 switch (strtolower($a_numtype)) {
144 $this->numtype = self::NUMTYPE_INTEGER;
148 $this->numtype = self::NUMTYPE_DECIMAL;
152 $this->numtype = self::NUMTYPE_SCIENTIFIC;
167 $this->render_type = $a_render_type;
180 $this->flow = $a_flow;
190 $this->material1 = $a_material;
200 $this->material2 = $a_material;
210 return $this->render_type !=
null;
setRCardinality(string $a_rcardinality)
setNumtype(string $a_numtype)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
const R_CARDINALITY_SINGLE
setIdent(string $a_ident)
__construct($a_response_type=0)
setMaterial2(ilQTIMaterial $a_material)
const R_CARDINALITY_MULTIPLE
const R_CARDINALITY_ORDERED
setResponsetype($a_responsetype)
setMaterial1(ilQTIMaterial $a_material)
setRTiming(string $a_rtiming)
setRenderType($a_render_type)