Jelix 1.6.40

minifyHTMLResponsePlugin
in package
implements jIHTMLResponsePlugin

plugin for jResponseHTML, which minify css and js files

Interfaces, Classes and Traits

jIHTMLResponsePlugin
interface for plugins for jResponseBasicHtml or jResponseHtml, which allows to make changes in the response at several step

Table of Contents

$excludeCSS  : mixed
$excludeJS  : mixed
$response  : mixed
__construct()  : mixed
afterAction()  : mixed
called just before the jResponseBasicHtml::doAfterActions() call
atBottom()  : mixed
called just before the output of an error page
beforeOutput()  : mixed
called when the content is generated, and potentially sent, except the body end tag and the html end tags. This method can output directly some contents.
beforeOutputError()  : mixed
called just before the output of an error page
generateMinifyList()  : array<string|int, mixed>
generate a list of urls for minify. It combines urls if possible
generateMinifyUrl()  : mixed

Properties

Methods

afterAction()

called just before the jResponseBasicHtml::doAfterActions() call

public afterAction() : mixed
Return values
mixed

atBottom()

called just before the output of an error page

public atBottom() : mixed
Return values
mixed

beforeOutput()

called when the content is generated, and potentially sent, except the body end tag and the html end tags. This method can output directly some contents.

public beforeOutput() : mixed
Return values
mixed

beforeOutputError()

called just before the output of an error page

public beforeOutputError() : mixed
Return values
mixed

generateMinifyList()

generate a list of urls for minify. It combines urls if possible

protected generateMinifyList(array<string|int, mixed> $list, string $exclude) : array<string|int, mixed>
Parameters
$list : array<string|int, mixed>

key=url, values = attributes/parameters

$exclude : string

name of the property containing the list of excluded files

Return values
array<string|int, mixed>

list of urls to insert in the html page

generateMinifyUrl()

protected generateMinifyUrl(mixed $urlsList) : mixed
Parameters
$urlsList : mixed
Return values
mixed

Search results