53 $this->altmaterial =
array();
54 $this->materials =
array();
59 array_push($this->materials,
array(
"material" => $a_mattext,
"type" =>
"mattext"));
64 array_push($this->materials,
array(
"material" => $a_matimage,
"type" =>
"matimage"));
69 array_push($this->materials,
array(
"material" => $a_matemtext,
"type" =>
"matemtext"));
74 array_push($this->materials,
array(
"material" => $a_mataudio,
"type" =>
"mataudio"));
79 array_push($this->materials,
array(
"material" => $a_matvideo,
"type" =>
"matvideo"));
84 array_push($this->materials,
array(
"material" => $a_matapplet,
"type" =>
"matapplet"));
89 array_push($this->materials,
array(
"material" => $a_matapplication,
"type" =>
"matapplication"));
94 array_push($this->materials,
array(
"material" => $a_matref,
"type" =>
"matref"));
99 array_push($this->materials,
array(
"material" => $a_matbreak,
"type" =>
"matbreak"));
104 array_push($this->materials,
array(
"material" => $a_mat_extension,
"type" =>
"mat_extension"));
109 array_push($this->materials,
array(
"material" => $a_altmaterial,
"type" =>
"altmaterial"));
114 return count($this->materials);
119 if (array_key_exists($a_index, $this->materials)) {
120 return $this->materials[$a_index];
128 $this->flow = $a_flow;
138 $this->label = $a_label;
150 foreach ($this->materials as $mat) {
151 if (strcmp($mat[
"type"],
"mattext") == 0) {
152 $text .= $mat[
"material"];
addMatapplication($a_matapplication)
Create styles array
The data for the language used.
addMat_extension($a_mat_extension)
addMatemtext($a_matemtext)
addMatapplet($a_matapplet)
addAltmaterial($a_altmaterial)