Site.getcloakingenabled(), Site.getconnectionstate() – Adobe Dreamweaver API Reference CS5 User Manual
Page 237
232
DREAMWEAVER API REFERENCE
Site
Last updated 8/27/2013
Arguments
fileName
•
The fileName argument is the path to the file being queried, which is expressed as a file://URL.
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
See “