Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서
The Server Model API functions
429
Arguments
None.
Returns
Dreamweaver expects an array of objects where each object contains the following three
properties:
properties:
■
The
startPattern
property is a regular expression that matches the opening script
delimiter (such as
"<%"
).
■
The
endPattern
property is a regular expression that matches the closing script delimiter
(such as
"%>"
).
■
The
participateInMerge
property is a Boolean value that specifies whether the content
enclosed in the listed delimiters should (
true
) or should not (
false
) participate in
block merging.
getServerModelDisplayName()
Availability
Dreamweaver MX.
Description
This function returns the name that should appear in the user interface for this server model.
You can access this value from JavaScript by calling the
You can access this value from JavaScript by calling the
dom.serverModel.getDisplayName()
function.
Arguments
None.
Returns
Dreamweaver expects a string, such as
"ASP JavaScript"
.
getServerModelFolderName()
Availability
Dreamweaver MX.