#277 [NEW]: Fetching Objects with PEAR DB
| From: | terry at scribendi dot com | Date: | Wed, 19 Nov 2003 22:34:22 +0000 |
| Subject: | #277 [NEW]: Fetching Objects with PEAR DB | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1964@lists.php.net to get a copy of this message | ||
From: terry at scribendi dot com
Operating system: Linux
PHP version: 4.3.2
PHP Bug Type: Documentation
Bug description: Fetching Objects with PEAR DB
Description:
------------
Please could we have more detailed documentation on using
DB_FETCHMODE_OBJECT with a classname to populate?
I have just spent two days trying to work out how to do object concurrency
control against a database, only to discover that a heap of my code
duplicates this existing, but little-documented functionality.
The ability to use DB as a simple object factory like this is great -
please may I make a feature request: the ability to feed objects derived
from DB_Row back into the autoExecute mechanism so that they can simply be
persisted back to the database?
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=277&edit=1
--