[cvs] [Wiki] changed: Doc/Dev/FormPackage
Wiki Guest
wikiguest at horde.org
Sun Apr 16 20:47:44 PDT 2006
guest [207.172.212.178] Sun, 16 Apr 2006 20:47:44 -0700
Modified page: http://wiki.horde.org/Doc/Dev/FormPackage
New Revision: 1.9
Change log: valid data so this parses
@@ -17,9 +17,10 @@
require_once 'Horde/Variables.php';
/* Get the data to be inserted, obviously with keys corresponding
to the available fields in the form. */
-$somedata = array(.....);
+$somedata = array('example_foo' => 'foo value',
+ 'example_bar' => 'bar value');
/* Set up this data as a new Horde_Form_Vars object. */
$vars = new Variables($somedata);
More information about the cvs
mailing list