You are here

private function JavaScriptPacker::_getEncoder in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::_getEncoder()
  2. 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::_getEncoder()
  3. 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::_getEncoder()
  4. 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::_getEncoder()
  5. 7 advagg_js_compress/jspacker.inc \JavaScriptPacker::_getEncoder()
2 calls to JavaScriptPacker::_getEncoder()
JavaScriptPacker::_bootStrap in advagg_js_compress/jspacker.inc
JavaScriptPacker::_encodeKeywords in advagg_js_compress/jspacker.inc

File

advagg_js_compress/jspacker.inc, line 384

Class

JavaScriptPacker

Code

private function _getEncoder($ascii) {
  return $ascii > 10 ? $ascii > 36 ? $ascii > 62 ? '_encode95' : '_encode62' : '_encode36' : '_encode10';
}