DREAMWEAVER CS3
210
API Reference
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
argument is the path to the file being queried, which is expressed as a file://URL.
fileName
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
might return
site.getCheckOutUserForFile("file://C:/sites/avocado8/index.html")
"denise
. If no check-out name is specified, only the login name returns (for example,
).
(deniseLaptop)"
"denise"
site.getCloakingEnabled()
Availability
Dreamweaver MX.
Description
Determines whether cloaking is enabled for the current site.
Arguments
None.
Returns
A Boolean value:
if cloaking is enabled for the current site;
otherwise.
true
false
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.