Specifications
554
Returns
A string, the value of which is the name of the folder.
dom.serverModel.getServerExtension()
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:
• Tr a n s la t o r U RL p a t t e r n s
• File references
• Type
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 a .edml file that matches criteria. (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.