I have 2 databases that my site uses, including a central user database, which refers to other databases related to specific sites.
Sometimes it’s enough to call new User(array('db'=>'adapter1'));(but never conveniently); in other cases, for example, when declaring relationships between tables in different databases, there is no way to do this.
Does anyone know a way to specify which database adapter to use from the Zend_Db_Table_Abstract class?
Thanks!
source
share