Bug #5486 [NEW]: DB_DataObject 'class_prefix' configuration option is mandatory

From: Date: Thu, 22 Sep 2005 03:36:02 +0000
Subject: Bug #5486 [NEW]: DB_DataObject 'class_prefix' configuration option is mandatory
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6864@lists.php.net to get a copy of this message
From: roger at ecstatic dot com Operating system: PHP version: 4.3.11 Package: Documentation Bug Type: Bug Bug description: DB_DataObject 'class_prefix' configuration option is mandatory 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 bug report at http://pear.php.net/bugs/bug.php?id=5486&edit=1 --

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