Wp.SettingsItem¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class Wp.SettingsItem¶
Wp.SettingsItem
holds the key and value of a setting- get_key()¶
- Returns:
the settings key of the item
- Return type:
Gets the key from a settings item.
- get_value()¶
- Returns:
the settings value of the item
- Return type:
Gets the value from a settings item.
- ref()¶
- Returns:
self with an additional reference count on it
- Return type:
Increases the reference count of a settings item object.
- unref()¶
Decreases the reference count on self and frees it when the ref count reaches zero.