PHP Класс rmrevin\yii\minify\View

Наследование: extends yii\web\View
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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)

Открытые методы

Метод Описание
endBody ( )
init ( )

Описание методов

endBody() публичный Метод

public endBody ( )

init() публичный Метод

public init ( )

Описание свойств

$base_path публичное свойство

path alias to web base (absolute)
public $base_path

$compress_options публичное свойство

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

$compress_output публичное свойство

do I need to compress the result html page.
Устаревший:
public $compress_output

$concatCss публичное свойство

public bool $concatCss
Результат boolean

$concatJs публичное свойство

public bool $concatJs
Результат boolean

$css_linebreak_pos публичное свойство

public int $css_linebreak_pos
Результат integer

$enableMinify публичное свойство

public bool $enableMinify
Результат boolean

$excludeBundles публичное свойство

public array $excludeBundles
Результат array

$expand_imports публичное свойство

whether to change @import on content
public $expand_imports

$fileCheckAlgorithm публичное свойство

filemtime or sha1
public $fileCheckAlgorithm

$file_mode публичное свойство

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

$force_charset публичное свойство

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

$js_position публичное свойство

positions of js files to be minified
public $js_position

$minifyCss публичное свойство

public bool $minifyCss
Результат boolean

$minifyJs публичное свойство

public bool $minifyJs
Результат boolean

$minifyOutput публичное свойство

public bool $minifyOutput
Результат boolean

$minify_path публичное свойство

path alias to save minify result
public $minify_path

$removeComments публичное свойство

public bool $removeComments
Результат boolean

$schemas публичное свойство

schemes that will be ignored during normalization url
public $schemas

$web_path публичное свойство

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