75 $this->purposeSuffixes = $purpose_filetypes;
94 $this->defaultAccess = $value ==
"users" ?
"users" :
"public";
104 foreach ($this->purposeSuffixes as $purpose => $filetypes) {
105 $this->storage->set($purpose .
"_types", implode(
",",$filetypes));
107 $this->storage->set(
"defaultaccess",$this->defaultAccess);
119 foreach ($this->purposeSuffixes as $purpose => $filetypes) {
120 if ($this->storage->get($purpose.
"_types") !=
false) {
121 $this->purposeSuffixes[$purpose] = explode(
",",$this->storage->get($purpose.
"_types"));
134 include_once(
'./Services/Administration/classes/class.ilSetting.php');
136 include_once(
'./Modules/MediaCast/classes/class.ilObjMediaCast.php');
139 $this->purposeSuffixes[
"Standard"] = array(
"mp3",
"flv",
"mp4",
"m4v",
"mov",
"wmv",
"gif",
"png");
140 $this->purposeSuffixes[
"AudioPortable"] = array(
"mp3");
141 $this->purposeSuffixes[
"VideoPortable"] = array(
"mp4",
"m4v",
"mov");