Change database name in Model Zend Db Table
I am new to Zend Framework. I have declared database name and user name/password in application.ini like this:
resources.db.params.host = "localhost" resources.db.params.username = "root" resources.db.params.password = "root" resources.db.params.dbname = "abc"
Now when I make a model class ,then I have to just declare table name like
protected $_name = "table1"
then it just to connect to "table1" in db "abc". Now I want to change dbname to "xyz" and connect to table "table2". Can I do it without changing the default database in application.ini somewhere in model class.
Thanks in advance.
and also this SO post