private function ParseMaster::_escape in Advanced CSS/JS Aggregation 8.2
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \ParseMaster::_escape()
- 8.3 advagg_js_minify/jspacker.inc \ParseMaster::_escape()
- 6 advagg_js_compress/jspacker.inc \ParseMaster::_escape()
- 7.2 advagg_js_compress/jspacker.inc \ParseMaster::_escape()
- 7 advagg_js_compress/jspacker.inc \ParseMaster::_escape()
1 call to ParseMaster::_escape()
- ParseMaster::exec in advagg_js_minify/
jspacker.inc
File
- advagg_js_minify/
jspacker.inc, line 740
Class
Code
private function _escape($string, $escapeChar) {
if ($escapeChar) {
$this->buffer = $escapeChar;
return preg_replace_callback('/\\' . $escapeChar . '(.)' . '/', array(
&$this,
'_escapeBis',
), $string);
}
else {
return $string;
}
}