3 declare(strict_types=1);
69 $this->response_type = $a_response_type;
77 $this->response_type = $a_responsetype;
88 public function setIdent(
string $a_ident): void
90 $this->ident = $a_ident;
100 switch (strtolower($a_rcardinality)) {
103 $this->rcardinality = self::R_CARDINALITY_SINGLE;
107 $this->rcardinality = self::R_CARDINALITY_MULTIPLE;
111 $this->rcardinality = self::R_CARDINALITY_ORDERED;
123 switch (strtolower($a_rtiming)) {
126 $this->rtiming = self::RTIMING_NO;
130 $this->rtiming = self::RTIMING_YES;
142 switch (strtolower($a_numtype)) {
145 $this->numtype = self::NUMTYPE_INTEGER;
149 $this->numtype = self::NUMTYPE_DECIMAL;
153 $this->numtype = self::NUMTYPE_SCIENTIFIC;
168 $this->render_type = $a_render_type;
181 $this->flow = $a_flow;
191 $this->material1 = $a_material;
201 $this->material2 = $a_material;
211 return $this->render_type != null;
setRCardinality(string $a_rcardinality)
setNumtype(string $a_numtype)
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)