User Guide

340 Chapter 16: Dynamic Documents
Returns
A string, the value of which is the name of the folder.
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 (
//).)
fileRef
The 1-based index of the regular expression submatch that corresponds to the
included file reference.
type
The portion of the paramName value that remains after removing the _includeUrl suffix.
This type is assigned to the type attribute of the
<MM:BeginLock> tag. For an example,
see Server Model SSI.htm in the Configuration/Translators folder.
000_DW_API_Print.book Page 340 Wednesday, August 20, 2003 9:14 AM