User Guide

Server model functions 413
dom.serverModel.getServerExtension() (deprecated)
Availability
Dreamweaver UltraDev 4; deprecated in Dreamweaver MX.
Description
Returns the default file extension of files that use the current server model. (The default file
extension is the first in the list.) If no user document is currently selected, the
serverModel
object is set to the server model of the currently selected site.
Arguments
None.
Returns
A string that represents the supported file extensions.
dom.serverModel.getServerIncludeUrlPatterns()
Availability
Dreamweaver MX.
Description
Returns the following list of properties, which let you access:
Translator URL patterns
File references
Ty pe
Arguments
None.
Returns
A list of objects, one for each searchPattern. Each object has the following three properties:
Property Description
pattern
A JavaScript regular expression that is specified in the
searchPattern field of an EDML file. (A regular expression is
delimited by a pair of forward slashes (
//).)
000_DW_API_Print.book Page 413 Wednesday, July 20, 2005 11:58 AM