Adobe 38040334 - Dreamweaver CS3 User Manual page 218

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
213
API Reference
Arguments
fileURL
• The
argument is the fully qualified URL (including the string "
) for a named file.
fileURL
file://"
Returns
A string that contains the name of the site, if any, in which the specified file exists. The string is empty when the
specified file does not exist in any defined site.
site.getSites()
Availability
Dreamweaver 3.
Description
Gets a list of the defined sites.
Arguments
None.
Returns
An array of strings that represents the names of the defined sites, or an empty array if no sites are defined.
site.getSiteURLPrefix()
Availability
Dreamweaver 8.
Description
Gets the site URL prefix that is extracted from the HTTP Address defined in Local Info section.
Arguments
None.
Returns
A string that contains the site URL prefix.
Example
sitePrefix = getSiteURLPrefix();
site.importSite()
Availability
Dreamweaver MX.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents