Specifications

Server Models 219
getLanguageSignatures()
Availability
Dreamweaver MX
Description
Returns an object that describes the method and array signatures that the scripting language uses.
The
getLanguageSignatures() function helps the developer map generic signature mapping to
language-specific mapping for the following elements:
The function
Constructors
Drop code (return values)
Arrays
Exceptions
Data type mappings for primitive data types
The
getLanguageSignatures() function returns a map of these signature declarations.
Extension developers can use this map to generate language-specific code blocks that
Dreamweaver drops on the page (based on the appropriate server model for the page) when the
user drags and drops, for example, a Web Services method.
For examples of how to write this function, see the HTML implementation files for the JSP and
the ASP.Net server models. Server model implementation files are located in the Configuration/
ServerModels folder.
Arguments
None.
Returns
Dreamweaver expects an object that defines the scripting language signatures. This object should
map the generic signatures to language-specific ones.
getServerExtension()
Availability
Dreamweaver UltraDev 4, deprecated in Dreamweaver MX
Description
Returns the default file extension of files that use the current server model. The serverModel
object is set to the server model of the currently selected site if no user document is currently
selected.
Arguments
None.
Returns
Dreamweaver expects a string that represents the supported file extensions.