library/Garp/Content/Db/Server/Abstract.php
protected function _fetchOtherDatabaseParams() {
        $otherEnvironment   = $this->getOtherEnvironment();
        $appConfigParams    = $this->_fetchAppConfigParams($otherEnvironment);
        $params             = $appConfigParams->resources->db->params;

        return $params;
    }
protected function _fetchOtherDatabaseParams() {
        $otherEnvironment   = $this->getOtherEnvironment();
        $appConfigParams    = $this->_fetchAppConfigParams($otherEnvironment);
        $params             = $appConfigParams->resources->db->params;

        return $params;
    }
protected function _fetchOtherDatabaseParams ( ) { $ otherEnvironment = $ this -> getOtherEnvironment ( ) ; $ appConfigParams = $ this -> _fetchAppConfigParams ( $ otherEnvironment ) ; $ params = $ appConfigParams -> resources -> db -> params ; return $ params ; }
Returns the database name of the counterpart server,
i.e. source if this is target, and vice versa.
@return String The other database name
Returns the database name of the counterpart server i . e . source if this is target and vice versa .