Small error in HTML_QuickForm_Controller FAQ
| From: | Reynald Borer | Date: | Thu, 10 Jun 2004 13:29:08 +0000 |
| Subject: | Small error in HTML_QuickForm_Controller FAQ | ||
| Groups: | php.pear.doc php.pear.general | ||
| Request: | Send a blank email to pear-doc+get-4365@lists.php.net to get a copy of this message | ||
Hi,
I've found a small error in the QuickForm_Controller FAQ. It's inside the question "How to pass additionnal data between pages of the form ?"
The line about using the container method says to use:
"$data =& $page->controller->container();"
but it doesn't work, the correct way is to use
"$data =& $page->container();"
Reynald Borer
--
CRAFT
Centre de Recherche et d'Appui pour la Formation et ses Technologies
Center for Research and Support of Training and its Technologies
Swiss Federal Institute of Technology Lausanne
Ecole Polytechnique Fédérale de Lausanne (EPFL)
CH-1015 Lausanne Switzerland
Téléphone: +41 (0)21 693 25 89
Fax: +41 (0)21 693 60 70
Email: reynald.borer@epfl.ch