2009年7月22日星期三

[fw-db] Get default adapter in model (best practice?)

Hello everybody,

My question is rather quick - i'm experiencing trouble getting the default
DB adapter in my model.
I know this is easy as i always extended Zend_Db_Table and then used

parent::getDefaultAdapter();

But now i don't need to extend Zend_Db_Table (for the first time actually)
and am completely stuck on how to get my default adapter. So i would greatly
appreciate if you could give me a hand here.

Thank you,
Dmitry.


--
View this message in context: http://www.nabble.com/Get-default-adapter-in-model-%28best-practice-%29-tp24604392p24604392.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: