Bug #5222 [Opn->Bgs]: error on page?
| From: | arnaud at limbourg dot com | Date: | Thu, 01 Sep 2005 13:24:57 +0000 |
| Subject: | Bug #5222 [Opn->Bgs]: error on page? | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-6713@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=5222&edit=1
ID: 5222
Updated by: arnaud@limbourg.com
Reported By: drwho85 at hotmail dot com
-Status: Open
+Status: Bogus
Id: 5222
Type: Bug
Package: Documentation
PHP Version: 4.4.1
New Comment:
if your table is named DataObjects_Person then yes but in this case the
example is correct.
Previous Comments:
------------------------------------------------------------------------
[2005-08-27 23:39:44] drwho85 at hotmail dot com
Description:
------------
IN the example 32-4 on the website.
http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.php
Should
// create a new person class..
$person = DB_DataObject::Factory('person');
not be
$person = DB_DataObject::Factory('DataObjects_Person');
or am i missing something?
Thanks
DW
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=5222&edit=1