#277 [Opn]: Fetching Objects with PEAR DB

From: Date: Tue, 03 Feb 2004 23:54:13 +0000
Subject: #277 [Opn]: Fetching Objects with PEAR DB
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2387@lists.php.net to get a copy of this message
ID: 277 Updated by: gurugeek@php.net Reported By: terry at scribendi dot com Status: Open Bug Type: Documentation Operating System: Linux PHP Version: 4.3.2 New Comment: Hello, I trust you already read the "DB_FETCHMODE_OBJECT" example from the manual ( http://pear.php.net/manual/en/ package.database.db.intro-fetch.php). I take the libery to forward your suggestions re: Documentation to the package lead developer. Many thanks for your report and your contribution! David Costa Previous Comments: ------------------------------------------------------------------------ [2003-11-19 17:34:22] terry at scribendi dot com 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 this bug report at http://pear.php.net/bugs/bug.php?id=277&edit=1

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