You are here

public function SassExtentionsCompassConfig::config in Sassy 7

* Sets configuration settings or returns a configuration setting. *

Parameters

mixed array: configuration settings; string: configuration setting to return: * @return string configuration setting. Null if setting does not exist.

6 calls to SassExtentionsCompassConfig::config()
SassExtentionsCompassFunctionsImageSize::real_path in phamlp/sass/extensions/compass/functions/imageSize.php
SassExtentionsCompassFunctionsInlineData::inline_font_files in phamlp/sass/extensions/compass/functions/inlineData.php
SassExtentionsCompassFunctionsInlineData::inline_image in phamlp/sass/extensions/compass/functions/inlineData.php
SassExtentionsCompassFunctionsUrls::font_url in phamlp/sass/extensions/compass/functions/urls.php
SassExtentionsCompassFunctionsUrls::image_url in phamlp/sass/extensions/compass/functions/urls.php

... See full list

File

phamlp/sass/extensions/compass/config.php, line 42

Class

SassExtentionsCompassConfig
Compass extension configuration class. @package PHamlP @subpackage Sass.extensions.compass

Code

public function config($config) {
  if (is_array($config)) {
    self::$config = array_merge(self::$defaultConfig, $config);
    self::setDefaults();
  }
  elseif (is_string($config) && isset(self::$config[$config])) {
    return self::$config[$config];
  }
}