Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00032 class ilQTIMaterial
00033 {
00034 var $label;
00035 var $flow;
00036 var $comment;
00037 var $mattext;
00038 var $matemtext;
00039 var $matimage;
00040 var $mataudio;
00041 var $matvideo;
00042 var $matapplet;
00043 var $matapplication;
00044 var $matref;
00045 var $matbreak;
00046 var $mat_extension;
00047 var $altmaterial;
00048
00049 function ilQTIMaterial()
00050 {
00051 $this->flow = 0;
00052 $this->mattext = array();
00053 $this->matemtext = array();
00054 $this->matimage = array();
00055 $this->mataudio = array();
00056 $this->matvideo = array();
00057 $this->matapplet = array();
00058 $this->matapplication = array();
00059 $this->matref = array();
00060 $this->matbreak = array();
00061 $this->mat_extension = array();
00062 $this->altmaterial = array();
00063 }
00064
00065 function addMattext($a_mattext)
00066 {
00067 array_push($this->mattext, $a_mattext);
00068 }
00069
00070 function addMatimage($a_matimage)
00071 {
00072 array_push($this->matimage, $a_matimage);
00073 }
00074
00075 function addMatemtext($a_matemtext)
00076 {
00077 array_push($this->matemtext, $a_matemtext);
00078 }
00079
00080 function addMataudio($a_mataudio)
00081 {
00082 array_push($this->mataudio, $a_mataudio);
00083 }
00084
00085 function addMatvideo($a_matvideo)
00086 {
00087 array_push($this->matvideo, $a_matvideo);
00088 }
00089
00090 function addMatapplet($a_matapplet)
00091 {
00092 array_push($this->matapplet, $a_matapplet);
00093 }
00094
00095 function addMatapplication($a_matapplication)
00096 {
00097 array_push($this->matapplication, $a_matapplication);
00098 }
00099
00100 function addMatref($a_matref)
00101 {
00102 array_push($this->matref, $a_matref);
00103 }
00104
00105 function addMatbreak($a_matbreak)
00106 {
00107 array_push($this->matbreak, $a_matbreak);
00108 }
00109
00110 function addMat_extension($a_mat_extension)
00111 {
00112 array_push($this->mat_extension, $a_mat_extension);
00113 }
00114
00115 function addAltmaterial($a_altmaterial)
00116 {
00117 array_push($this->altmaterial, $a_altmaterial);
00118 }
00119
00120 function setFlow($a_flow)
00121 {
00122 $this->flow = $a_flow;
00123 }
00124
00125 function getFlow()
00126 {
00127 return $this->flow;
00128 }
00129
00130 function setLabel($a_label)
00131 {
00132 $this->label = $a_label;
00133 }
00134
00135 function getLabel()
00136 {
00137 return $this->label;
00138 }
00139 }
00140 ?>