Static class that will output all necessary script tags and will optionally concatenate and compress them
This file is part of the project codename "AMANUENSIS"
- Author
- Sebastian Antosch s.ant.nosp@m.osch.nosp@m.@i-sa.nosp@m.n.de
- Copyright
- 2015 I-SAN.de Webdesign & Hosting GbR GPL
| static echoScripts |
( |
|
$debug = false | ) |
|
|
static |
This static function will generate an html output making sure all needed scripts will be included in the head
- Parameters
-
| bool | $debug | - whether or not the scripts should be concatenated and compressed, default = false |
- Returns
- string - html which makes sure all scripts will be loaded
| static echoAllScripts |
( |
| ) |
|
|
staticprivate |
Echoes HTML tags to include all needed scripts
- Returns
- string - the HTML that includes all single scripts
| static echoCompressedScripts |
( |
| ) |
|
|
staticprivate |
Echoes HTML tags to include all compressed and concatenated scripts
- Returns
- string - the HTML that includes all concatenated and compressed scripts
| static renderScriptsByTemplate |
( |
| ) |
|
|
static |
Renders the scriptsByTemplate
| static getScriptsByTemplate |
( |
| ) |
|
|
staticprivate |
Gets an array with paths to rendered scriptsByTemplate
- Returns
- array - an array of paths to rendered scripts by template
| static cacheCompressCss |
( |
| ) |
|
|
staticprivate |
merges, caches and compresses all css files if necessary
- Returns
- String - the path to the generated css file
| static cacheCompressJs |
( |
| ) |
|
|
staticprivate |
merges, caches and compresses all js files if necessary
- Returns
- String - the path to the generated js file
The documentation for this class was generated from the following file:
- D:/Arbeit/PhpStormProjects/amanuensis/app/classes/scripthandling/scriptLoader.php