Re: #277 [Opn]: Fetching Objects with PEAR DB

From: Date: Wed, 04 Feb 2004 00:07:12 +0000
Subject: Re: #277 [Opn]: Fetching Objects with PEAR DB
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2388@lists.php.net to get a copy of this message
Note: sent a short email note to Stig Bakken and Thomas V.V.Cox in relation with the following "bug" (looks more like a feature request). ;) Regards David Costa On Feb 4, 2004, at 12:54 AM, gurugeek@php.net wrote:
 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 --PEAR Documentation List Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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