public static function setDatabaseMap($name, DatabaseMap $map)
    {
        if ($name === null) {
            $name = self::getDefaultDB();
        }
        self::$dbMaps[$name] = $map;
    }
public static function setDatabaseMap($name, DatabaseMap $map)
    {
        if ($name === null) {
            $name = self::getDefaultDB();
        }
        self::$dbMaps[$name] = $map;
    }
public static function setDatabaseMap ( $ name , DatabaseMap $ map ) { if ( $ name === null ) { $ name = self :: getDefaultDB ( ) ; } self :: $ dbMaps [ $ name ] = $ map ; }
Sets the database map object to use for specified datasource.

@param string      $name The datasource name.
@param DatabaseMap $map  The database map object to use for specified datasource.
Sets the database map object to use for specified datasource .