Same name in other branches
- 5.0.x advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
- 7.x-1.x advagg_js_compress/jspacker.inc \JavaScriptPacker::_encode62()
- 7.x-2.x advagg_js_compress/jspacker.inc \JavaScriptPacker::_encode62()
- 8.x-2.x advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
- 8.x-3.x advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
- 8.x-4.x advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode62()
Fichier
-
advagg_js_minify/
jspacker.inc, line 419
Classe
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);
}
}