public function CSSCompression_Combine_BorderRadius::combine in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg_css_compress/css-compressor-3.x/src/lib/Combine/BorderRadius.inc \CSSCompression_Combine_BorderRadius::combine()
Main handler to combine border-radii into a single rule
Parameters
(string) val: Rule Set:
File
- advagg_css_compress/
css-compressor-3.x/ src/ lib/ Combine/ BorderRadius.inc, line 57
Class
- CSSCompression_Combine_BorderRadius
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
public function combine($val) {
foreach ($this->borderRadius as $regex) {
$val = $this
->fix($val, $regex);
}
return $val;
}