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
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
__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