PHP Class rmrevin\yii\minify\View

Inheritance: extends yii\web\View
Afficher le fichier Open project: rmrevin/yii2-minify-view Class Usage Examples

Méthodes publiques

Свойство Type Description
$base_path path alias to web base (absolute)
$compress_options options for compressing output result * extra - use more compact algorithm * no-comments - cut all the html comments
$compress_output do I need to compress the result html page.
$concatCss boolean
$concatJs boolean
$css_linebreak_pos integer
$enableMinify boolean
$excludeBundles array
$expand_imports whether to change @import on content
$fileCheckAlgorithm filemtime or sha1
$file_mode chmod of minified file. If false chmod not set
$force_charset charset forcibly assign, otherwise will use all of the files found charset
$js_position positions of js files to be minified
$minifyCss boolean
$minifyJs boolean
$minifyOutput boolean
$minify_path path alias to save minify result
$removeComments boolean
$schemas schemes that will be ignored during normalization url
$web_path path alias to web base (in url)

Méthodes publiques

Méthode Description
endBody ( )
init ( )

Method Details

endBody() public méthode

public endBody ( )

init() public méthode

public init ( )

Property Details

$base_path public_oe property

path alias to web base (absolute)
public $base_path

$compress_options public_oe property

options for compressing output result * extra - use more compact algorithm * no-comments - cut all the html comments
public $compress_options

$compress_output public_oe property

do I need to compress the result html page.
Deprecation:
public $compress_output

$concatCss public_oe property

public bool $concatCss
Résultat boolean

$concatJs public_oe property

public bool $concatJs
Résultat boolean

$css_linebreak_pos public_oe property

public int $css_linebreak_pos
Résultat integer

$enableMinify public_oe property

public bool $enableMinify
Résultat boolean

$excludeBundles public_oe property

public array $excludeBundles
Résultat array

$expand_imports public_oe property

whether to change @import on content
public $expand_imports

$fileCheckAlgorithm public_oe property

filemtime or sha1
public $fileCheckAlgorithm

$file_mode public_oe property

chmod of minified file. If false chmod not set
public $file_mode

$force_charset public_oe property

charset forcibly assign, otherwise will use all of the files found charset
public $force_charset

$js_position public_oe property

positions of js files to be minified
public $js_position

$minifyCss public_oe property

public bool $minifyCss
Résultat boolean

$minifyJs public_oe property

public bool $minifyJs
Résultat boolean

$minifyOutput public_oe property

public bool $minifyOutput
Résultat boolean

$minify_path public_oe property

path alias to save minify result
public $minify_path

$removeComments public_oe property

public bool $removeComments
Résultat boolean

$schemas public_oe property

schemes that will be ignored during normalization url
public $schemas

$web_path public_oe property

path alias to web base (in url)
public $web_path