public function JavaScriptPacker::__construct in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
- 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
- 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::__construct()
- 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::__construct()
- 7 advagg_js_compress/jspacker.inc \JavaScriptPacker::__construct()
File
- advagg_js_compress/
jspacker.inc, line 86
Class
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;
}