Bug #6619 [Opn->Csd]: example wrong or puzzling

From: Date: Mon, 20 Mar 2006 21:23:59 +0000
Subject: Bug #6619 [Opn->Csd]: example wrong or puzzling
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7696@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=6619&edit=1 ID: 6619 Updated by: arnaud@php.net Reported By: karo at mjestopodsuncem dot com -Status: Open +Status: Closed Id: 6619 Type: Bug Package: Documentation PHP Version: Irrelevant New Comment: This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I updated the variables to match the table definition returned in the table() method. Previous Comments: ------------------------------------------------------------------------ [2006-01-29 12:13:38] karo at mjestopodsuncem dot com 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 this bug report at http://pear.php.net/bugs/bug.php?id=6619&edit=1

« previous php.pear.doc (#7696) next »