protected function _setupDatabaseAdapter()
    {
        if (Zend_Registry::isRegistered('multidb')) {
            return $this->_setAdapter(Zend_Registry::get('multidb')->getDb($this->_connection));
        }

        return parent::_setupDatabaseAdapter();
    }
protected function _setupDatabaseAdapter()
    {
        if (Zend_Registry::isRegistered('multidb')) {
            return $this->_setAdapter(Zend_Registry::get('multidb')->getDb($this->_connection));
        }

        return parent::_setupDatabaseAdapter();
    }
protected function _setupDatabaseAdapter ( ) { if ( Zend_Registry :: isRegistered ( 'multidb' ) ) { return $ this -> _setAdapter ( Zend_Registry :: get ( 'multidb' ) -> getDb ( $ this -> _connection ) ) ; } return parent :: _setupDatabaseAdapter ( ) ; }
Initialize database adapter.

@throws Zend_Db_Table_Exception
Initialize database adapter .