Bug #5486 [Opn->Asn]: DB_DataObject 'class_prefix' configuration option is mandatory
| From: | arnaud@php.net | Date: | Thu, 22 Sep 2005 08:35:10 +0000 |
| Subject: | Bug #5486 [Opn->Asn]: DB_DataObject 'class_prefix' configuration option is mandatory | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-6878@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=5486&edit=1
ID: 5486
Updated by: arnaud@php.net
Reported By: roger at ecstatic dot com
-Status: Open
+Status: Assigned
Id: 5486
Type: Bug
Package: Documentation
PHP Version: 4.3.11
-Assigned To:
+Assigned To: alan_k
Previous Comments:
------------------------------------------------------------------------
[2005-09-21 23:36:02] roger at ecstatic dot com
Description:
------------
I want my persistent classes to have the same names as
the underlying tables, so I set 'class_prefix' to the
empty string. This works great...except that I happen
to have a table called 'Factory'. Calling
DB_DataObject::Factory() with an argument of 'Factory'
causes a segmentation fault. :-(
In the discussion for bug #3256, I see a
reference to this being a design decision. Fair enough;
but it's not made explicit in the documentation.
See bug #5484 for DB_DataObject.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=5486&edit=1