Bug #7674 [Opn->Csd]: Error In Sample Code/Example
| From: | danielc@php.net | Date: | Sun, 04 Jun 2006 13:25:53 +0000 |
| Subject: | Bug #7674 [Opn->Csd]: Error In Sample Code/Example | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7995@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=7674&edit=1
ID: 7674
Updated by: danielc@php.net
Reported By: zee4speed at hotmail dot com
-Status: Open
+Status: Closed
Id: 7674
Type: Bug
Package: Documentation
Operating System: xp
PHP Version: 5_2 CVS-2006-05-19
-Assigned To:
+Assigned To: danielc
New Comment:
Fixed in CVS. Will show up when docs get rebuilt later today.
Previous Comments:
------------------------------------------------------------------------
[2006-05-19 15:34:41] zee4speed at hotmail dot com
Description:
------------
In the above example 41-1 there are a few problems to prevent user for
completely using this example.
Test script:
---------------
1. Line 3: $form->compile($this->masterTemplate);
// change this line to ...compile("FileName.Ext");
2. Line 33,34: $elements['test_checkbox[]'] = new HTML...
// change ...text_checkbox[] to ...text_checkbox_array[]
// this change is for line 33 and 34.
3. Line 43: $form->output(new StdClass, $elements);
// should be outputObject(new StdClass, $elements);
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=7674&edit=1