This component provides a short overview / example on how to save and retrieve specific settings for your extension. The values of the form below were restored from settings for this extension.
Versioning your data store is a very important part of maintaining forward/backward compatibility. For this reason, using the Settings Manager requires you to extend the VersionedObject class for saving and retrieving your data. Here is an example of this in code:
There are also common settings shared throughout the application with functions analagous to extensions settings including getCommonUserSettings()
, getCommonApplicationSettings()
, and getCommonAdminSettings()
.
Common settings are only read/write for specific properties. Currently, we only support the banners
property in the common user settings, but more common properties will be added in the future.