ZMObject
└─ZMConfig
public class ZMConfig
extends ZMObject
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMConfig() Create new instance. |
|
| Method Summary | |
|---|---|
| void | createConfigValue(string title, string key, string value, int groupId, string description, int sortOrder, string setFunction, string useFunction) Create config value. |
| array | Get all configuration groups. |
| array | getConfigValues(string pattern) Get all config values for a given key pattern. |
| static void | instance() Get instance. |
| void | removeConfigValue(string key) Remove config value. |
| void | removeConfigValues(string pattern) Remove config value for the given key pattern. |
| void | updateConfigValue(string key, string value) Update config value. |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMConfig()
Create new instance.
public void createConfigValue(string title, string key, string value, int groupId, string description, int sortOrder, string setFunction, string useFunction)
Create config value.
''.0.null.null.public array getConfigGroups()
Get all configuration groups.
public array getConfigValues(string pattern)
Get all config values for a given key pattern.
ZMConfigValue or ZMWidget instances.public static void instance()
Get instance.
public void removeConfigValue(string key)
Remove config value.
public void removeConfigValues(string pattern)
Remove config value for the given key pattern.
public void updateConfigValue(string key, string value)
Update config value.
Configuration.