2008年12月16日星期二

[fw-db] Forcing rowClass in standard Zend_Db_Select

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

没有评论: