User Guide
Server model functions 339
dom.serverModel.getDelimiters()
Availability
Dreamweaver MX.
Description
Lets JavaScript code get the script delimiter for each server model, so managing the server model
code can be separated from managing the user-scripted code.
Arguments
None.
Returns
An array of objects where each object contains the following three properties:
• The startPattern property is a regular expression that matches the opening script delimiter.
• The endPattern property is a regular expression that matches the closing script delimiter.
• The participateInMerge pattern is a Boolean value that specifies whether the content
that is enclosed in the listed delimiters should (
true) or should not (false) participate in
block merging.
dom.serverModel.getDisplayName()
Availability
Dreamweaver MX.
Description
Gets the name of the server model that appears in the user interface (UI).
Arguments
None.
Returns
A string, the value of which is the name of the server model.
dom.serverModel.getFolderName()
Availability
Dreamweaver MX.
Description
Gets the name of the folder that is used for this server model in the Configuration folder (such as
in the ServerModels subfolder).
Arguments
None.
000_DW_API_Print.book Page 339 Wednesday, August 20, 2003 9:14 AM