User Guide
80 Chapter 7: The Database API
Note: These properties are the standard ones that Dreamweaver implements. Developers can define
their connection types and add new properties to this standard set or provide a different set of
properties.
MMDB.getConnectionList()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a list of all the connection strings that are defined in the Connection Manager.
Arguments
None.
Returns
An array of strings where each string is the name of a connection as it appears in the Connection
Manager.
Example
A call to MMDB.getConnectionList() can return the strings ["EmpDB", "Test", TestEmp"].
MMDB.getConnectionName()
Availability
Dreamweaver UltraDev 1.
Description
This function gets the connection name that corresponds to the specified connection string.
This function is useful when you need to reselect a connection name in the user interface (UI)
from data on the page.
If you have a connection string that references two drivers, you can specify the connection string
and the driver that corresponds to the connection name that you want to return. For example,
you can have two connections.
includePattern
Regular expression used to find the file include statement on the page during Live
Data and Preview In Browser
variables
Array of page variable names and their corresponding values used during Live
Data and Preview In Browser
catalog
Used to restrict the metadata that appears (for more information, see
“MMDB.getProcedures()” on page 94)
schema
Used to restrict the metadata that appears (for more information, see
“MMDB.getProcedures()” on page 94)
filename
Filename of dialog box that was used to create the connection
Property Description
000_DW_API_Print.book Page 80 Wednesday, August 20, 2003 9:14 AM