src/Core/SettingsTrait.php
public function settingsGet($key, $default=false)
    {
        $allSettings = $this->settingsGetAll();
        if ( array_key_exists ($key, $allSettings ) ) {
            return $allSettings[$key];
        } else {
            return $default;
        }
    }
public function settingsGet($key, $default=false)
    {
        $allSettings = $this->settingsGetAll();
        if ( array_key_exists ($key, $allSettings ) ) {
            return $allSettings[$key];
        } else {
            return $default;
        }
    }
public function settingsGet ( $ key , $ default = false ) { $ allSettings = $ this -> settingsGetAll ( ) ; if ( array_key_exists ( $ key , $ allSettings ) ) { return $ allSettings [ $ key ] ; } else { return $ default ; } }
Retrieve a particular key from the settings.

Returns the value found in settings or false if the key was not found.

@param $key - The key to get from the settings.
@param $default - What to return if the key is not present
Retrieve a particular key from the settings .