PHP Class rmrevin\yii\minify\View

Inheritance: extends yii\web\View
Show file 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 property

path alias to web base (absolute)
public $base_path

$compress_options public property

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

$compress_output public property

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

$concatCss public property

public bool $concatCss
return boolean

$concatJs public property

public bool $concatJs
return boolean

$css_linebreak_pos public property

public int $css_linebreak_pos
return integer

$enableMinify public property

public bool $enableMinify
return boolean

$excludeBundles public property

public array $excludeBundles
return array

$expand_imports public property

whether to change @import on content
public $expand_imports

$fileCheckAlgorithm public property

filemtime or sha1
public $fileCheckAlgorithm

$file_mode public property

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

$force_charset public property

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

$js_position public property

positions of js files to be minified
public $js_position

$minifyCss public property

public bool $minifyCss
return boolean

$minifyJs public property

public bool $minifyJs
return boolean

$minifyOutput public property

public bool $minifyOutput
return boolean

$minify_path public property

path alias to save minify result
public $minify_path

$removeComments public property

public bool $removeComments
return boolean

$schemas public property

schemes that will be ignored during normalization url
public $schemas

$web_path public property

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