PHP Class Craft\MinifyService

Inheritance: extends craft\BaseApplicationComponent
Afficher le fichier Open project: nystudio107/minify

Protected Properties

Свойство Type Description
$shouldMinify

Méthodes publiques

Méthode Description
cssMin ( $cssText = "" ) * -------------------------------------------------------------------------------- Minify the passed in CSS --------------------------------------------------------------------------------
htmlMin ( $htmlText = "" ) * -------------------------------------------------------------------------------- Minify the passed in HTML --------------------------------------------------------------------------------
init ( )
jsMin ( $jsText = "" ) * -------------------------------------------------------------------------------- Minify the passed in JS --------------------------------------------------------------------------------
minify ( $htmlText = "" ) * -------------------------------------------------------------------------------- Minify all the things --------------------------------------------------------------------------------

Method Details

cssMin() public méthode

* -------------------------------------------------------------------------------- Minify the passed in CSS --------------------------------------------------------------------------------
public cssMin ( $cssText = "" )

htmlMin() public méthode

* -------------------------------------------------------------------------------- Minify the passed in HTML --------------------------------------------------------------------------------
public htmlMin ( $htmlText = "" )

init() public méthode

public init ( )

jsMin() public méthode

* -------------------------------------------------------------------------------- Minify the passed in JS --------------------------------------------------------------------------------
public jsMin ( $jsText = "" )

minify() public méthode

* -------------------------------------------------------------------------------- Minify all the things --------------------------------------------------------------------------------
public minify ( $htmlText = "" )

Property Details

$shouldMinify protected_oe property

protected $shouldMinify