@@ 313-320 (lines=8) @@ | ||
310 | * @return string css includes |
|
311 | * @throws Exception\LookupException |
|
312 | */ |
|
313 | public function addCSS($files = [], $place = 'append') |
|
314 | { |
|
315 | if ($place === 'append') { |
|
316 | $this->queuedCSS = array_merge($files, $this->queuedCSS); |
|
317 | } else { |
|
318 | $this->queuedCSS = array_merge($this->queuedCSS, $files); |
|
319 | } |
|
320 | } |
|
321 | ||
322 | public function addJS($files = [], $place = 'append') |
|
323 | { |
|
@@ 322-329 (lines=8) @@ | ||
319 | } |
|
320 | } |
|
321 | ||
322 | public function addJS($files = [], $place = 'append') |
|
323 | { |
|
324 | if ($place === 'append') { |
|
325 | $this->queuedJS = array_merge($files, $this->queuedJS); |
|
326 | } else { |
|
327 | $this->queuedJS = array_merge($this->queuedJS, $files); |
|
328 | } |
|
329 | } |
|
330 | ||
331 | /** |
|
332 | * Set 404 header, and return 404 view contents |