![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Скачать руководство пользователя страница 415](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054415.webp)
Server model functions
415
You can modify the information in the HTML definition file or place additional variable
values or functions in the file. For example, you can modify the
serverName
,
serverLanguage
, and
serverVersion
properties. The
dom.serverModel.getServerInfo()
function returns the information that the server model
author adds to the definition file.
The
serverName
,
serverLanguage
, and
serverVersion
properties are special because the
developer can access them directly by using the following corresponding functions:
■
dom.serverModel.getServerName()
■
dom.serverModel.getServerLanguage()
■
dom.serverModel.getServerVersion()
Arguments
None.
Returns
A JavaScript object that contains a variety of information that is specific to the current
server model.
dom.serverModel.getServerLanguage() (deprecated)
Availability
UltraDev 1; deprecated in Dreamweaver MX.
Description
Determines the server model that is associated with the document and returns that value. The
server language for a site is the value that comes from the Default Scripting Language setting
on the App Server Info tab in the Site Definition dialog box. To get the return value, this
function calls the
getServerLanguage()
function in the Server Models API.
NO
T
E
The other values that are defined in the default server model files are for internal use
only.
NO
TE
The Default Scripting Language list exists only in Dreamweaver 4 and earlier versions.
For Dreamweaver MX or later, the Site Definition dialog box does not list supported
scripting languages. Also, for Dreamweaver MX or later, the
dom.serverModel.getServerLanguage()
function reads the
serverLanguage
property of the object that is returned by a call to the
getServerInfo()
function in the
Server Models API.
000_DW_API_Print.book Page 415 Wednesday, July 20, 2005 11:58 AM
Содержание DREAMWEAVER 8-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 16: ......
Страница 28: ...28 The File I O API...
Страница 38: ...38 The HTTP API...
Страница 68: ...68 Flash Integration...
Страница 100: ...100 The Database API...
Страница 116: ...116 The JavaBeans API...
Страница 144: ...144 The Source Control Integration API...
Страница 146: ......
Страница 254: ...254 Workspace...
Страница 298: ...298 Site...
Страница 354: ...354 Document...
Страница 396: ...396 Page Content...
Страница 488: ...488 Design...
Страница 550: ...550 Code...