[cvs] [集體創作] changed: Doc/Dev/FormPackage

集體創作 Guest wikiguest at horde.org
Fri Apr 28 02:25:29 PDT 2006


guest [210.241.49.125]  Fri, 28 Apr 2006 02:25:29 -0700

Modified page: http://wiki.horde.org/Doc/Dev/FormPackage
New Revision:  1.11
Change log:  Correct function name fomr getVar to get

@@ -24,9 +24,9 @@
     $vars->set('example_foo', 'Foo Sample Data');
 }
 
 /* Get formname var to check if submitted later on. */
-$formname = $vars->getVar('formname');
+$formname = $vars->get('formname');
 
 /* Get the form object, setting the vars and the title. */
 $myform = new Horde_Form($vars, _("An Example Form"), 'some_form');
 


More information about the cvs mailing list