SettingsTrait.php
public function getSetting($key = null, $default = null)
    {
        return $this->getSettingsComponent()->get($this->getSettingsCategory(), $key, $default);
    }
public function getSetting($key = null, $default = null)
    {
        return $this->getSettingsComponent()->get($this->getSettingsCategory(), $key, $default);
    }
public function getSetting ( $ key = null , $ default = null ) { return $ this -> getSettingsComponent ( ) -> get ( $ this -> getSettingsCategory ( ) , $ key , $ default ) ; }
Returns settings from current category.

@param string|array $key Single or multiple keys in array
@param mixed $default Default value when setting does not exist
@return mixed Setting value
@throws Exception
Returns settings from current category .