private function JavaScriptPacker::_encode62 in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
- 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
- 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
- 6 advagg_js_compress/jspacker.inc \JavaScriptPacker::_encode62()
- 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::_encode62()
File
- advagg_js_compress/
jspacker.inc, line 403
Class
Code
private function _encode62($charCode) {
$res = '';
if ($charCode >= $this->_encoding) {
$res = $this
->_encode62((int) ($charCode / $this->_encoding));
}
$charCode = $charCode % $this->_encoding;
if ($charCode > 35) {
return $res . chr($charCode + 29);
}
else {
return $res . base_convert($charCode, 10, 36);
}
}