Check out the default rowset class to see where it creates them (and you'll be able to do the same thing). I think you'll need to pass in a table object with the data.
T
On Wed, Dec 17, 2008 at 10:13, Dan Wilson <dan@codeality.com> wrote:
Is there any way to force a rowClass from outside a Table object?
I'm doing a select on the adapter because I have several tables that
are all pretty similar. I dynamically set the FROM. But doing this
doesn't allow me to take advantage of the custom rowClass I've setup
for each table.
Is there a way to force it to return a rowSet? I'm in the process of
converting from Doctrine and it was able to handle this (through the
DQL).
Thanks,
-=Dan
没有评论:
发表评论