@@ -39,6 +39,10 @@ discard block |
||
39 | 39 | array_push($temp,$i); |
40 | 40 | return $temp; |
41 | 41 | } |
42 | + |
|
43 | + /** |
|
44 | + * @param string $_mods |
|
45 | + */ |
|
42 | 46 | public function addModules( $_mods ) { |
43 | 47 | if(!is_array($_mods)) |
44 | 48 | throw new InvalidArgumentException("Parameter must be an array."); |
@@ -64,6 +68,10 @@ discard block |
||
64 | 68 | throw new InvalidArgumentException("Parameter must be a string."); |
65 | 69 | array_push($this->files, $_file); |
66 | 70 | } |
71 | + |
|
72 | + /** |
|
73 | + * @param string $_files |
|
74 | + */ |
|
67 | 75 | public function addFilesRequired( $_files ) { |
68 | 76 | if(!is_array($_files)) |
69 | 77 | throw new InvalidArgumentException("Parameter must be an array."); |
@@ -80,6 +88,11 @@ discard block |
||
80 | 88 | $this->tags["js"] = $this->getJs(); |
81 | 89 | $this->tags["jsVariables"] = $this->getJsVariables(); |
82 | 90 | } |
91 | + |
|
92 | + /** |
|
93 | + * @param string $_function |
|
94 | + * @param string $_extenction |
|
95 | + */ |
|
83 | 96 | protected function getRequire( $_function, $_extenction) { |
84 | 97 | $temp = []; |
85 | 98 | foreach ($this->required as $i) |