PHP Class rmrevin\yii\minify\View

Inheritance: extends yii\web\View
显示文件 Open project: rmrevin/yii2-minify-view Class Usage Examples

Public Properties

Property 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)

Public Methods

Method Description
endBody ( )
init ( )

Method Details

endBody() public method

public endBody ( )

init() public method

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
return boolean

$concatJs public_oe property

public bool $concatJs
return boolean

$css_linebreak_pos public_oe property

public int $css_linebreak_pos
return integer

$enableMinify public_oe property

public bool $enableMinify
return boolean

$excludeBundles public_oe property

public array $excludeBundles
return 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
return boolean

$minifyJs public_oe property

public bool $minifyJs
return boolean

$minifyOutput public_oe property

public bool $minifyOutput
return boolean

$minify_path public_oe property

path alias to save minify result
public $minify_path

$removeComments public_oe property

public bool $removeComments
return 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