You are here

function csstidy::get_cfg in Advanced CSS/JS Aggregation 6

Get the value of a setting.

@access public

@version 1.0

Parameters

string $setting:

Return value

mixed

9 calls to csstidy::get_cfg()
csstidy::css_add_property in advagg_css_compress/csstidy/class.csstidy.inc
Adds a property with value to the existing CSS code
csstidy::css_new_media_section in advagg_css_compress/csstidy/class.csstidy.inc
Start a new media section. Check if the media is not already known, else rename it with extra spaces to avoid merging
csstidy::css_new_property in advagg_css_compress/csstidy/class.csstidy.inc
Start a new propertie. If already references in this selector, rename it with extra space to avoid override
csstidy::css_new_selector in advagg_css_compress/csstidy/class.csstidy.inc
Start a new selector. If already referenced in this media section, rename it with extra space to avoid merging except if merging is required, or last selector is the same (merge siblings)
csstidy::explode_selectors in advagg_css_compress/csstidy/class.csstidy.inc
Explodes selectors @access private @version 1.0

... See full list

File

advagg_css_compress/csstidy/class.csstidy.inc, line 300

Class

csstidy
CSS Parser class

Code

function get_cfg($setting) {
  if (isset($this->settings[$setting])) {
    return $this->settings[$setting];
  }
  return false;
}