logo       

commit: horde/lib Form.php: msg#01567

horde.cvs

Subject: commit: horde/lib Form.php

chuck 2003/01/30 15:25:46 PST

Modified files:
lib Form.php
Log:
Fairly sophisticated support for variables that are named as arrays,
such as foo[bar]; PHP parses that into $foo = array('bar' =>
<formvalue>), instead of $foo[bar] (not a valid variable name,
anyways), so our getVar() and isVarSet() functions, among others,
weren't picking them up.

Now, those functions know how to take a 'foo[bar]' variable name and
parse it into array keys, and look through the $_vars array to find
them.

Revision Changes Path
1.65 +64 -11 horde/lib/Form.php

Chora Links:
http://cvs.horde.org/diff.php/horde/lib/Form.php?r1=1.64&r2=1.65&ty=u

--
To unsubscribe, mail: cvs-unsubscribe@xxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise