diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-11-10 18:18:05 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-11-10 18:18:05 +0100 |
commit | 60dd32d957e6c4ce2d969c45cc60497f55a39abe (patch) | |
tree | 51b56b85739258e873c528e2f6d18af76d3b56e5 /lib/plugins/config/settings/config.metadata.php | |
parent | b8f41ef0bac4e82cb3b02cd318efaddbaaeb1a78 (diff) | |
download | rpg-60dd32d957e6c4ce2d969c45cc60497f55a39abe.tar.gz rpg-60dd32d957e6c4ce2d969c45cc60497f55a39abe.tar.bz2 |
added 'array' type for config manager
This allows to use simple arrays in the config file but have a comma
separated list in the config manager.
Diffstat (limited to 'lib/plugins/config/settings/config.metadata.php')
-rw-r--r-- | lib/plugins/config/settings/config.metadata.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php index 3607f56c6..582452917 100644 --- a/lib/plugins/config/settings/config.metadata.php +++ b/lib/plugins/config/settings/config.metadata.php @@ -32,6 +32,9 @@ * separated list of checked choices * 'fieldset' - used to group configuration settings, but is not itself a setting. To make this clear in * the language files the keys for this type should start with '_'. + * 'array' - a simple (one dimensional) array of string values, shown as comma separated list in the + * config manager but saved as PHP array(). Values may not contain commas themselves. + * _pattern matching on the array values supported. * * Single Setting (source: settings/extra.class.php) * ------------------------------------------------- |