function csstidy::merge_css_blocks in Advanced CSS/JS Aggregation 6
Adds CSS to an existing media/selector
@access private @version 1.1
Parameters
string $media:
string $selector:
array $css_add:
1 call to csstidy::merge_css_blocks()
- csstidy::explode_selectors in advagg_css_compress/
csstidy/ class.csstidy.inc - Explodes selectors @access private @version 1.0
File
- advagg_css_compress/
csstidy/ class.csstidy.inc, line 1108
Class
- csstidy
- CSS Parser class
Code
function merge_css_blocks($media, $selector, $css_add) {
foreach ($css_add as $property => $value) {
$this
->css_add_property($media, $selector, $property, $value, false);
}
}