summaryrefslogtreecommitdiff
path: root/lib/plugins/config/settings/config.metadata.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-11-10 18:18:05 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-11-10 18:18:05 +0100
commit60dd32d957e6c4ce2d969c45cc60497f55a39abe (patch)
tree51b56b85739258e873c528e2f6d18af76d3b56e5 /lib/plugins/config/settings/config.metadata.php
parentb8f41ef0bac4e82cb3b02cd318efaddbaaeb1a78 (diff)
downloadrpg-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.php3
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)
* -------------------------------------------------