Initially, the application used a single database, but now I am changing it, so that different groups of data are in a different database. I added another database using multidb. Now some models use a database other than the default, but I don’t know how to make the model use a specific adapter all the time. I tried changing the adapter using Zend_Db_Table :: setDefaultAdapter before interacting with the models, but now I need to change all the functions of all the models to make sure that the model interacts with the correct adapter. Is there an easier way to achieve them. My model extends Zend_Db_table.
Bryan source
share