Re: [fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-13 Thread Ralf Eggert
Hi Ralph, here is the script: http://pastebin.com/3tqn1RiM It uses this entity class: http://pastebin.com/6c6fy8UK And this is the database dump for the SQLite3 database: http://pastebin.com/PFKadDu4 I hope you can reproduce it. It is tested with 2.0.5 release. Regards, Ralf -- List: fw-

Re: [fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-12 Thread Ralph Schindler
Can you help me reproduce this? I have this repository here: https://github.com/ralphschindler/Zend_Db-Examples That has a database already setup. I'd like to get to the bottom of that error you have there. I've used TableGateway to produce entity objects without problem, so I'd need to see

Re: [fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-06 Thread Ralf Eggert
Hi Matthew, thanks for your reply. Unfortunately, I can not get it to work. > It actually _is_ supported. The way to make it happen is to inject a > HydratingResultSet into the table gateway object; this object will > then be used when results are returned. The HydratingResultSet allows > you to

Re: [fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-06 Thread Matthew Weier O'Phinney
On Thu, Dec 6, 2012 at 5:12 AM, Ralf Eggert wrote: > when I use TableGateway on its own I can use a ResultSetPrototype which > can use my own Entity class rather than an ArrayObject instance. I can > also combine TableGateway and RowGateway with the RowGatewayFeature. But > unfortunately RowGatewa

[fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-06 Thread Ralf Eggert
Hi, when I use TableGateway on its own I can use a ResultSetPrototype which can use my own Entity class rather than an ArrayObject instance. I can also combine TableGateway and RowGateway with the RowGatewayFeature. But unfortunately RowGateway does not support an own Entity class for representing