[dev] horde_forms - more arrayvals stuff

Marko marko at oblo.com
Thu Jan 30 15:07:46 PST 2003


chuck,

another problem, if i have a vars in the forms called "params[someparam]", they
now get past the previous problem that they were not being saved as valid
varnames in the _formvals, but they do not get recognised as arrays when doing a
getInfo.

as it is now i'd get back a string var called $info['params[someparam]'] instead
of $info['params']['someparam'] which is more useful if i have a number of these
params[someparamA], params[someparamB][xxx], params[someparamV][yyy] etc. set up
in the form.

attached a patch which takes a hack at this. a bit ugly, but see what you think.

marko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Form.php.patch
Type: text/diff
Size: 1183 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20030130/373dfc04/Form.php.bin


More information about the dev mailing list