Bug #6619 [NEW]: example wrong or puzzling
| From: | karo at mjestopodsuncem dot com | Date: | Sun, 29 Jan 2006 17:13:39 +0000 |
| Subject: | Bug #6619 [NEW]: example wrong or puzzling | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7474@lists.php.net to get a copy of this message | ||
From: karo at mjestopodsuncem dot com
Operating system:
Package version:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: example wrong or puzzling
Description:
------------
this is about:
http://pear.php.net/manual/en/package.database.db-dataobject.intro-autobuilding.php
In the example of a hand-coded table-class (in the bottom of the page),
the array given as output of the manually defined table() method doesn't
fit the table structure defined in the beginning of the class.
since i'll have to hand-code my classes, and am relatively new to PEAR,
this difference puzzled me immensely and i just lost two hours trying to
figure out if it was an error in documentation or am i getting something
wrong.
my conclusion by now is that it's an error, and if i'm wrong, please at
least let me know briefly, to the provided e-mail address. Thanx!
Test script:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=6619&edit=1
--