public static function savePurgeDataSettings($settings)
    {
        foreach (self::$purgeDataOptions as $configName => $configSection) {
            if (isset($settings[$configName])) {
                Option::set($configName, $settings[$configName]);
            }
        }
    }
public static function savePurgeDataSettings($settings)
    {
        foreach (self::$purgeDataOptions as $configName => $configSection) {
            if (isset($settings[$configName])) {
                Option::set($configName, $settings[$configName]);
            }
        }
    }
public static function savePurgeDataSettings ( $ settings ) { foreach ( self :: $ purgeDataOptions as $ configName => $ configSection ) { if ( isset ( $ settings [ $ configName ] ) ) { Option :: set ( $ configName , $ settings [ $ configName ] ) ; } } }
Saves the supplied data purging settings.

@param array $settings The settings to save.
Saves the supplied data purging settings .