![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Скачать руководство пользователя страница 340](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554340.webp)
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
•
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 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
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...