public function getSetting($name, $default = null)
    {
        return array_key_exists($name, $this->settings) ? $this->settings[$name] : $default;
    }
public function getSetting($name, $default = null)
    {
        return array_key_exists($name, $this->settings) ? $this->settings[$name] : $default;
    }
public function getSetting ( $ name , $ default = null ) { return array_key_exists ( $ name , $ this -> settings ) ? $ this -> settings [ $ name ] : $ default ; }
Get setting.

@param string $name
Setting name.
@param mixed $default
(optional) Default value when setting is not in file.

@return mixed
Setting value.
Get setting .