public static function load_filter(stdclass $persistant) {
        $data = new stdclass();
        if (isset($persistant->tool_customlang_filter)) {
            foreach ($persistant->tool_customlang_filter as $key => $value) {
                $data->{$key} = unserialize($value);
            }
        }
        return $data;
    }
public static function load_filter(stdclass $persistant) {
        $data = new stdclass();
        if (isset($persistant->tool_customlang_filter)) {
            foreach ($persistant->tool_customlang_filter as $key => $value) {
                $data->{$key} = unserialize($value);
            }
        }
        return $data;
    }
public static function load_filter ( stdclass $ persistant ) { $ data = new stdclass ( ) ; if ( isset ( $ persistant -> tool_customlang_filter ) ) { foreach ( $ persistant -> tool_customlang_filter as $ key => $ value ) { $ data -> { $ key } = unserialize ( $ value ) ; } } return $ data ; }
Loads the previously saved filter settings from a persistent storage

@see self::save_filter()
@param stdclass $persistant storage object
@return stdclass filter data
Loads the previously saved filter settings from a persistent storage