PHP Класс Piwik\AssetManager

It performs the following actions: - Identifies required assets - Includes assets in the rendered HTML page - Manages asset merging and minifying - Manages server-side cache Whether assets are included individually or as merged files is defined by the global option 'disable_merged_assets'. See the documentation in the global config for more information.
Наследование: extends piwik\Singleton
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( )
compileCustomJs ( $files )
compileCustomStylesheets ( $files )
getAssetDirectory ( ) : string Check if the merged file directory exists and is writable.
getCompiledBaseCss ( ) : Piwik\AssetManager\UIAsset Return the base.less compiled to css
getCssInclusionDirective ( ) : string Return CSS file inclusion directive(s) using the markup
getJsInclusionDirective ( ) : string Return JS file inclusion directive(s) using the markup