ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilAsqQuestionResourcesCollector.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
14{
18 protected $mobs = array();
19
23 protected $mediaFiles = array();
24
28 protected $jsFiles = array();
29
33 protected $cssFiles = array();
34
38 public function getMobs() : array
39 {
40 return $this->mobs;
41 }
42
46 public function addMob(string $mob)
47 {
48 $this->mobs[] = $mob;
49 }
50
54 public function getMediaFiles() : array
55 {
56 return $this->mediaFiles;
57 }
58
62 public function addMediaFile(string $mediaFile)
63 {
64 $this->mediaFiles[] = $mediaFile;
65 }
66
70 public function getJsFiles() : array
71 {
72 return $this->jsFiles;
73 }
74
78 public function addJsFile(string $jsFile)
79 {
80 $this->jsFiles[] = $jsFile;
81 }
82
86 public function getCssFiles() : array
87 {
88 return $this->cssFiles;
89 }
90
94 public function setCssFile(string $cssFile)
95 {
96 $this->cssFiles[] = $cssFile;
97 }
98}
An exception for terminatinating execution or to throw for unit testing.