Home » Database » DB_DataObject » Bug #6264
Find() clears all variables, also when overriding in a superclass
Details
| Request #6264 | Find() clears all variables, also when overriding in a superclass |
|---|---|
| Submitted | 2005-12-16 16:25 UTC |
| From | jan at pinna dot nl |
| Status | Feedback |
| Package | DB_DataObject |
| PHP Version | 5.0.5 |
| OS | Gentoo |
| 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..?