public static function set($scope, $key, $value)
    {
        $settingStore = Store::get('Setting');
        $setting = $settingStore->getByScopeKey($scope, $key);
        $setting->setValue($value);
        $settingStore->save($setting);

        self::load();
    }
public static function set($scope, $key, $value)
    {
        $settingStore = Store::get('Setting');
        $setting = $settingStore->getByScopeKey($scope, $key);
        $setting->setValue($value);
        $settingStore->save($setting);

        self::load();
    }
public static function set ( $ scope , $ key , $ value ) { $ settingStore = Store :: get ( 'Setting' ) ; $ setting = $ settingStore -> getByScopeKey ( $ scope , $ key ) ; $ setting -> setValue ( $ value ) ; $ settingStore -> save ( $ setting ) ; self :: load ( ) ; }
Update a setting

@param $scope
@param $key
@param $value
@return mixed
Update a setting