public static function getDatabaseMap($name = null)
    {
        if ($name === null) {
            $name = self::getDefaultDB();
            if ($name === null) {
                throw new PropelException("DatabaseMap name is null!");
            }
        }

        if (!isset(self::$dbMaps[$name])) {
            $clazz = self::$databaseMapClass;
            self::$dbMaps[$name] = new $clazz($name);
        }

        return self::$dbMaps[$name];
    }
public static function getDatabaseMap($name = null)
    {
        if ($name === null) {
            $name = self::getDefaultDB();
            if ($name === null) {
                throw new PropelException("DatabaseMap name is null!");
            }
        }

        if (!isset(self::$dbMaps[$name])) {
            $clazz = self::$databaseMapClass;
            self::$dbMaps[$name] = new $clazz($name);
        }

        return self::$dbMaps[$name];
    }
public static function getDatabaseMap ( $ name = null ) { if ( $ name === null ) { $ name = self :: getDefaultDB ( ) ; if ( $ name === null ) { throw new PropelException ( "DatabaseMap name is null!" ) ; } } if ( ! isset ( self :: $ dbMaps [ $ name ] ) ) { $ clazz = self :: $ databaseMapClass ; self :: $ dbMaps [ $ name ] = new $ clazz ( $ name ) ; } return self :: $ dbMaps [ $ name ] ; }
Returns the database map information. Name relates to the name
of the connection pool to associate with the map.

The database maps are "registered" by the generated map builder classes.

@param      string The name of the database corresponding to the DatabaseMap to retrieve.

@return DatabaseMap The named <code>DatabaseMap</code>.

@throws PropelException - if database map is null or propel was not initialized properly.
Returns the database map information . Name relates to the name of the connection pool to associate with the map .