You are here

public function CSSCompression::option in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg_css_compress/css-compressor-3.x/src/CSSCompression.inc \CSSCompression::option()

(Proxy function) Maintainable access to the options array

- Passing no arguments returns the entire options array - Passing a single name argument returns the value for the option - Passing an array will merge the options with the array passed, for object like extension - Passing both a name and value, sets the value to the name key, and returns the value

Parameters

(mixed) name: The key name of the option:

(mixed) value: Value to set the option:

File

advagg_css_compress/css-compressor-3.x/src/CSSCompression.inc, line 300

Class

CSSCompression

Code

public function option($name = NULL, $value = NULL) {
  return $this->Control->Option
    ->option($name, $value);
}