class Assets

Class Assets

Properties

protected array $additionalThemeCssFiles
protected array $additionalThemeJsFiles
protected string $enabledLibraries
protected SimpleXMLElement $designXml
protected Libraries $libraries

Methods

__construct(ApplicationPath $appPath, Libraries $libraries)

Checks, whether the current design uses Bootstrap or not

array
fetchAdditionalThemeCssFiles()

No description

$this
addCssFile(string $file)

No description

array
fetchAdditionalThemeJsFiles()

No description

$this
addJsFile(string $file)

No description

$this
enableLibraries(array $libraries)

Activates frontend libraries

array
getLibraries()

No description

string
getEnabledLibrariesAsString()

No description

Details

at line 40
__construct(ApplicationPath $appPath, Libraries $libraries)

Checks, whether the current design uses Bootstrap or not

Parameters

ApplicationPath $appPath
Libraries $libraries

at line 55
array fetchAdditionalThemeCssFiles()

Return Value

array

at line 71
$this addCssFile(string $file)

Parameters

string $file

Return Value

$this

at line 81
array fetchAdditionalThemeJsFiles()

Return Value

array

at line 97
$this addJsFile(string $file)

Parameters

string $file

Return Value

$this

at line 111
$this enableLibraries(array $libraries)

Activates frontend libraries

Parameters

array $libraries

Return Value

$this

at line 121
array getLibraries()

Return Value

array

at line 129
string getEnabledLibrariesAsString()

Return Value

string