[cvs] [Wiki] changed: Doc/Dev/FormPackage
Wiki Guest
wiki at wiki.horde.org
Tue Jul 5 18:13:18 PDT 2005
guest [207.172.212.178] Tue, 05 Jul 2005 18:13:18 -0700
Modified page: http://wiki.horde.org/Doc/Dev/FormPackage
New Revision: 1.4
Change log: remove HORDE_LIBS
@@ -5,10 +5,10 @@
The following code could be used to fill a form through Horde_Form, for example to edit a record. The example is a bit abstracted from reality, in that you would also need to build some validation around this code, checking for a form submission, etc. to eventually have a useable form.
<code type="php">
/* Require and set up Horde_Form. */
-require_once HORDE_LIBS . 'Horde/Form.php';
-require_once HORDE_LIBS . 'Horde/Form/Renderer.php';
+require_once 'Horde/Form.php';
+require_once 'Horde/Form/Renderer.php';
/* Get the data to be inserted, obviously with keys corresponding
to the available fields in the form. */
$somedata = array(.....);
More information about the cvs
mailing list