@@ 266-273 (lines=8) @@ | ||
263 | * @return string css includes |
|
264 | * @throws Exception\LookupException |
|
265 | */ |
|
266 | public function addCSS($files = [], $place = 'append') |
|
267 | { |
|
268 | if ($place === 'append') { |
|
269 | $this->queuedCSS = array_merge($files, $this->queuedCSS); |
|
270 | } else { |
|
271 | $this->queuedCSS = array_merge($this->queuedCSS, $files); |
|
272 | } |
|
273 | } |
|
274 | ||
275 | public function addJS($files = [], $place = 'append') |
|
276 | { |
|
@@ 275-282 (lines=8) @@ | ||
272 | } |
|
273 | } |
|
274 | ||
275 | public function addJS($files = [], $place = 'append') |
|
276 | { |
|
277 | if ($place === 'append') { |
|
278 | $this->queuedJS = array_merge($files, $this->queuedJS); |
|
279 | } else { |
|
280 | $this->queuedJS = array_merge($this->queuedJS, $files); |
|
281 | } |
|
282 | } |
|
283 | ||
284 | /** |
|
285 | * Set 404 header, and return 404 view contents |