getFileExtensions()

Availability

Adobe Dreamweaver UltraDev 1, deprecated in Adobe Dreamweaver MX.

Description

Returns the document file extensions with which a server model can work. For example, the ASP server model supports .asp and .htm file extensions. This function returns an array of strings, and Adobe Dreamweaver uses these strings to populate the Default Page Extension list that is found in the App Server category in the Site Definition dialog box.

NOTE

The Default Page Extension list exists only in Adobe Dreamweaver 4 and earlier. For Adobe Dreamweaver MX, and later, the Site Definition dialog box does not list file extension settings. Instead, Adobe Dreamweaver reads the Extensions.txt file and parses the documenttype element in the mmDocumentTypes.xml file. (For more information on these two files and the documenttype element, see .)

Arguments

None.

Returns

Adobe Dreamweaver expects an array of strings that represent the allowed file extensions.