minifyHTMLResponsePlugin

Implements \jIHTMLResponsePlugin

plugin for jResponseHTML, which minify css and js files

package

jelix

Methods

__construct

__construct(\jResponse $c) 

Arguments

called just before the jResponseBasicHtml::doAfterActions() call

afterAction() 

called just before the output of an error page

atBottom() 

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.

beforeOutput() 

called just before the output of an error page

beforeOutputError() 

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

generateMinifyList(array $list, string $exclude) : array

Arguments

$list

array

key=url, values = attributes/parameters

$exclude

string

name of the property containing the list of excluded files

Response

array

list of urls to insert in the html page

generateMinifyUrl

generateMinifyUrl( $urlsList) 

Arguments

$urlsList

Properties

response

response : 

Type(s)

excludeCSS

excludeCSS : 

Type(s)

excludeJS

excludeJS : 

Type(s)