[cvs] [Wiki] changed: ConfXML
Wiki Guest
wiki at wiki.horde.org
Thu Aug 12 05:54:45 PDT 2004
guest [207.166.197.22] Thu, 12 Aug 2004 05:54:45 -0700
Modified page: http://wiki.horde.org/display.php?page=ConfXML
New Revision: 2.4
@@ -18,11 +18,14 @@
<value desc="Side by side">sidebyside</value>
</values>
</configenum>
</configsection>
+</configuration>
</code>
{{<configuration>}} is the start of the config file.
+
+++ Sections
{{<configsection name="wicked">}} produces first level {{$conf['wicked']}} variables.
Multiple configsection names produces multiple levels.
@@ -34,15 +37,21 @@
<configsection>
</code>
produces {{$conf['level1']['level2']}} variables.
+
+++ Headers
{{<configheader>}} puts text to help organize the screen
+
+++ Strings
{{<configstring ...>}} for selecting an item from a list
* name - Second level {{$conf['configsection']['configstring']}} variables
* desc - This is what shows up near the box for information about the entry
* required - will put a red star and make user enter data (true/false)
+
+++ Enums (Select From a List)
{{<configenum ...>default_entry}} to provide a list of choices
* name - Second level {{$conf['configsection']['configenum']}} variables
* desc - Descriptive text for list
@@ -52,15 +61,21 @@
<value desc="List entry1">list1</value>
<value desc="List entry2">list2</value>
</values>
</code>
+
+++ Multi-Enums (Select Any Number From a List)
{{<configmultienum ...>}} for selecting multiple items from a list
* name - Second level {{$conf['configsection']['configmultienum']}}
* desc - Descriptive text for multienum entries
+
+++ Special Values
{{<configspecial name="list-horde-apps" />}} - "values" list of active horde apps
* name - Refers to case entry in framework/Horde/Horde/Config.php.
+
+++ Switches
{{<configswitch ...>}} - mechanism for grouping sets of options
Use config entries from above to populate option choices.
* name - Third level {{$conf['configsection']['configstring']['configswitch']}}
More information about the cvs
mailing list