1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5/**
6 * Class ilAsqQuestionResourcesCollector
7 *
8 * @author    Björn Heyser <info@bjoernheyser.de>
9 * @version    $Id$
10 *
11 * @package    Services/AssessmentQuestion
12 */
13class ilAsqQuestionResourcesCollector
14{
15    /**
16     * @var array
17     */
18    protected $mobs = array();
19
20    /**
21     * @var array
22     */
23    protected $mediaFiles = array();
24
25    /**
26     * @var array
27     */
28    protected $jsFiles = array();
29
30    /**
31     * @var array
32     */
33    protected $cssFiles = array();
34
35    /**
36     * @return array
37     */
38    public function getMobs() : array
39    {
40        return $this->mobs;
41    }
42
43    /**
44     * @param string $mob
45     */
46    public function addMob(string $mob)
47    {
48        $this->mobs[] = $mob;
49    }
50
51    /**
52     * @return array
53     */
54    public function getMediaFiles() : array
55    {
56        return $this->mediaFiles;
57    }
58
59    /**
60     * @param string $mediaFile
61     */
62    public function addMediaFile(string $mediaFile)
63    {
64        $this->mediaFiles[] = $mediaFile;
65    }
66
67    /**
68     * @return array
69     */
70    public function getJsFiles() : array
71    {
72        return $this->jsFiles;
73    }
74
75    /**
76     * @param string $jsFiles
77     */
78    public function addJsFile(string $jsFile)
79    {
80        $this->jsFiles[] = $jsFile;
81    }
82
83    /**
84     * @return array
85     */
86    public function getCssFiles() : array
87    {
88        return $this->cssFiles;
89    }
90
91    /**
92     * @param string $cssFiles
93     */
94    public function setCssFile(string $cssFile)
95    {
96        $this->cssFiles[] = $cssFile;
97    }
98}
99