User Guide
230 Chapter 13: Site
site.getAppURLPrefixForSite()
Availability
Dreamweaver MX.
Description
Gets the value of the URL prefix of the currently selected site.
Arguments
None.
Returns
A string that contains the URL prefix of the currently selected site.
Example
sitePrefix = 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 site.getCheckOutUser() might return "denise (deniseLaptop)". If no check-out
name is specified, only the login name returns (for example,
"denise").
site.getCheckOutUserForFile()
Availability
Dreamweaver 3.
Description
Gets the login and check-out name of the user who has the specified file checked out.
Arguments
fileName
• The fileName argument is the path to the file being queried, which is expressed as a file://
URL.
000_DW_API_Print.book Page 230 Wednesday, August 20, 2003 9:14 AM