public static function getDefaultDB()
    {
        if (self::$defaultDBName === null) {
            // Determine default database name.
            self::$defaultDBName = isset(self::$configuration['datasources']['default']) && is_scalar(self::$configuration['datasources']['default']) ? self::$configuration['datasources']['default'] : self::DEFAULT_NAME;
        }

        return self::$defaultDBName;
    }
public static function getDefaultDB()
    {
        if (self::$defaultDBName === null) {
            // Determine default database name.
            self::$defaultDBName = isset(self::$configuration['datasources']['default']) && is_scalar(self::$configuration['datasources']['default']) ? self::$configuration['datasources']['default'] : self::DEFAULT_NAME;
        }

        return self::$defaultDBName;
    }
public static function getDefaultDB ( ) { if ( self :: $ defaultDBName === null ) { // Determine default database name. self :: $ defaultDBName = isset ( self :: $ configuration [ 'datasources' ] [ 'default' ] ) && is_scalar ( self :: $ configuration [ 'datasources' ] [ 'default' ] ) ? self :: $ configuration [ 'datasources' ] [ 'default' ] : self :: DEFAULT_NAME ; } return self :: $ defaultDBName ; }
Returns the name of the default database.

@return string Name of the default DB
Returns the name of the default database .