private function ParseMaster::_replace_name in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
- 8.2 advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
- 8.3 advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
- 6 advagg_js_compress/jspacker.inc \ParseMaster::_replace_name()
- 7.2 advagg_js_compress/jspacker.inc \ParseMaster::_replace_name()
File
- advagg_js_compress/
jspacker.inc, line 708
Class
Code
private function _replace_name($match, $offset) {
$length = strlen($match[$offset + 2]);
$start = $length - max($length - strlen($match[$offset + 3]), 0);
return substr($match[$offset + 1], $start, $length) . $match[$offset + 4];
}