开发者

Zend basic question - How to configure DAO to be used?

开发者 https://www.devze.com 2023-01-23 15:25 出处:网络
I have this following directory structure: auth controllers daos etc.. I have this DAO work开发者_开发问答ing:

I have this following directory structure:

auth controllers daos

etc..

I have this DAO work开发者_开发问答ing:

class TeamsDao extends Zend_Db_Table_Abstract {

    protected $_name = 'teams';

etc...

I want to add a new DAO and my question is:

After adding the file and a new class representing a new dao, do I need to tell zend that I do have a new DAO in place somewhere?

Thanks, MEM


It's a question of instantiating the DAO. No special configuration needed. Cheers.

0

精彩评论

暂无评论...
验证码 换一张
取 消