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
, and
serverLanguage
dom.serverModel.getServerInfo()
author adds to the definition file.
The other values that are defined in the default server model files are for internal use
only.
The
,
serverName
serverLanguage
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()
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.
properties. The
serverVersion
function returns the information that the server model
, and
serverVersion
function in the Server Models API.
,
serverName
properties are special because the
Server model functions
415
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?