Horde_Core_Prefs_Storage_Upgrade
in package
Utility methods to upgrade Horde 3 preference values.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Methods
- upgradeSerialized() : mixed
- Upgrades the given preferences from the old H3 way of storing serialized data.
Methods
upgradeSerialized()
Upgrades the given preferences from the old H3 way of storing serialized data.
public
upgradeSerialized(Horde_Prefs $prefs_ob, array<string|int, mixed> $names) : mixed
OLD method: convert charset, serialize, store. NEW method: serialize, convert charset, store.
Parameters
- $prefs_ob : Horde_Prefs
-
The preferences object.
- $names : array<string|int, mixed>
-
The list of names to upgrade.