Adobe 38040334 - Dreamweaver CS3 User Manual page 214

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

Advertisement

DREAMWEAVER CS3
209
API Reference
Arguments
None.
Returns
If the access type to the application server file is
, this function returns a path; otherwise, this
local/network
function returns an empty string.
site.getAppURLPrefixForSite()
Availability
Dreamweaver MX.
Description
Gets the value of the URL prefix that is extracted from the HTTP address defined in the Local Info section of the site
definition dialog. It is the path that appears after the http://
:
/.
hostname
portnumber
Arguments
{ siteName }
The
argument, which is optional, is the name of the site for which you want to get the URL prefix. If you
siteName
do not specify a tie, the function gets the URL prefix for the current site.
Returns
A string that contains the URL prefix of the currently selected site.
Example
var sitePrefix = site.getAppURLPrefixForSite();
site.getCheckOutUser()
Availability
Dreamweaver 3.
Description
Gets the login and check-out name that is associated with the current site.
Arguments
None.
Returns
A string that contains a login and check-out name, if defined, or an empty string if Check In/Check Out is disabled.
Example
A call to
might return
. If no check-out name is specified,
site.getCheckOutUser()
"denise (deniseLaptop)"
only the login name returns (for example,
).
"denise"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents