PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject » Bug #6264

Find() clears all variables, also when overriding in a superclass

Details

Request #6264Find() clears all variables, also when overriding in a superclass
Submitted2005-12-16 16:25 UTC
Fromjan at pinna dot nl
StatusFeedback
PackageDB_DataObject
PHP Version5.0.5
OSGentoo
Roadmaps(Not assigned)

Comments

[2005-12-16 16:25 UTC] jan at pinna dot nl

Description:
------------
My Request is to stop find() from clearing all stored content of object vars. I found out it is natural behaviour, and I can see this in relation to the table vars, but when you extend DataObject and override find() to ie. allways do some whereAdd statements before find, you cannot use information stored in the object, because find clears it. Could that be changed so that find() only clears table vars..?