User Guide
Site functions 231
Returns
A string that contains the login and check-out name of the user who has the file checked out or an
empty string if the file is not checked out.
Example
A call to site.getCheckOutUserForFile("file://C:/sites/avocado8/index.html")
might return
"denise (deniseLaptop)". If no check-out name is specified, only the login name
returns (for example,
"denise").
site.getCloakingEnabled()
Availability
Dreamweaver MX.
Description
Determines whether cloaking is enabled for the current site.
Arguments
None.
Returns
A Boolean value: true if cloaking is enabled for the current site; false otherwise.
site.getConnectionState()
Availability
Dreamweaver 3.
Description
Gets the current connection state.
Arguments
None.
Returns
A Boolean value that indicates whether the remote site is connected.
Enabler
“site.canConnect()” on page 457.
000_DW_API_Print.book Page 231 Wednesday, August 20, 2003 9:14 AM