3 declare(strict_types=1);
42 $this->materials[] = array(
"material" => $a_mattext,
"type" =>
"mattext");
47 $this->materials[] = array(
"material" => $a_matimage,
"type" =>
"matimage");
52 $this->materials[] = array(
"material" => $a_matapplet,
"type" =>
"matapplet");
57 return count($this->materials);
65 if (array_key_exists($a_index, $this->materials)) {
66 return $this->materials[$a_index];
72 public function setFlow(
int $a_flow): void
74 $this->flow = $a_flow;
82 public function setLabel(
string $a_label): void
84 $this->label = $a_label;
addMattext(ilQTIMattext $a_mattext)
getMaterial(int $a_index)
addMatapplet(ilQTIMatapplet $a_matapplet)
setLabel(string $a_label)
addMatimage(ilQTIMatimage $a_matimage)