Same name in other branches
- 5.0.x advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
- 6.0.x advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
- 7.x-1.x advagg_js_compress/jspacker.inc \JavaScriptPacker::__construct()
- 7.x-2.x advagg_js_compress/jspacker.inc \JavaScriptPacker::__construct()
- 8.x-2.x advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
- 8.x-3.x advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
Fichier
-
advagg_js_minify/
jspacker.inc, line 102
Classe
Code
public function __construct($_script, $_encoding = 62, $_fastDecode = true, $_specialChars = false) {
$this->_script = $_script . "\n";
if (array_key_exists($_encoding, $this->LITERAL_ENCODING)) {
$_encoding = $this->LITERAL_ENCODING[$_encoding];
}
$this->_encoding = min((int) $_encoding, 95);
$this->_fastDecode = $_fastDecode;
$this->_specialChars = $_specialChars;
}