[dev] config / xml

Chuck Hagenbuch chuck at horde.org
Thu Apr 24 23:20:20 PDT 2003


Quoting Marko Djukic <marko at oblo.com>:

> the <values> or whatever else is between the <configenum> </configenum>
> tags is read by default as the params parameter of the addVariable()
> function. rather than doing tests for enum, multienum.
> this means that we could do something like this as well:
>    <configlongtext name="somevar" desc="Sometext">
>     <rows>4</rows>
>     <cols>60</cols>
>    </configlongtext>

Hmm. I'd rather that the config parser knew which params to check for for
any given type. I know it's kind of exacting, but we only have to write the
code for it once.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
I guess you remind me I'm alive.


More information about the dev mailing list