|
commit: horde/lib Form.php: msg#01567horde.cvs
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> |
|---|---|---|
| Previous by Date: | commit: hermes/lib TimeForm.php: 01567, Chuck Hagenbuch |
|---|---|
| Next by Date: | commit: giapeto/lib Blockedit.php Giapeto.php: 01567, Chuck Hagenbuch |
| Previous by Thread: | commit: horde/lib Form.phpi: 01567, Marko Djukic |
| Next by Thread: | commit: horde/lib Form.php: 01567, Chuck Hagenbuch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |