If you don't specify a module, the current one will be used to automatically create the path to the file.
Automatic creation of the filename will result in
src/Backend/Modules/MODULE/Layout/Css/FILE (for modules)
src/Backend/Core/Layout/Css/FILE (for core)
If you set overwritePath to true, the above-described automatic path creation will not happen, instead the
file-parameter will be used as path; which we then expect to be a full path (It has to start with a slash '/')
public addCSS ( string $file, string $module = null, boolean $overwritePath = false, boolean $minify = true, boolean $addTimestamp = false ) | ||
$file | string | The name of the file to load. |
$module | string | The module wherein the file is located. |
$overwritePath | boolean | Should we overwrite the full path? |
$minify | boolean | Should the CSS be minified? |
$addTimestamp | boolean | May we add a timestamp for caching purposes? |