Dom.servermodel.getdisplayname(), Dom.servermodel.getfoldername(), Dom.servermodel.getserverincludeurlpatterns() – Adobe Dreamweaver API Reference CS5 User Manual
Page 379
374
DREAMWEAVER API REFERENCE
Dynamic documents
Last updated 8/27/2013
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.
Returns
A string, the value of which is the name of the folder.
dom.serverModel.getServerIncludeUrlPatterns()
Availability
Dreamweaver MX.