Specifications

Chapter 31434
Returns
A Boolean value that indicates whether all the following conditions are true:
A remote site has been defined.
If a Document window has focus, the file has been saved in a local site; or, if the Site panel has
focus, one or more files or folders are selected.
Check In/Check Out is turned on.
site.canCheckOut()
Availability
Dreamweaver 3
Description
Determines whether Dreamweaver can perform a Check Out operation on the specified file or
files.
Arguments
siteOrURL
siteOrURL
must be the site keyword, which indicates that the function should act on the
selection in the Site panel or the URL for a single file.
Returns
A Boolean value that indicates whether all the following conditions are true:
A remote site has been defined.
If a Document window has focus, the file is part of a local site and is not already checked out;
or, if the Site panel has focus, one or more files or folders are selected and at least one of the
selected files is not already checked out.
Check In/Check Out is turned on.
site.canCloak()
Availability
Dreamweaver MX
Description
Determines whether Dreamweaver can perform a cloaking operation.
Arguments
siteOrURL
siteOrURL
must be the site keyword, which indicates that canCloak() should act on the
selection in the Site panel or the URL of a particular folder, which indicates that
canCloak()
should act on the specified folder and all its contents.
Returns
true if Dreamweaver can perform the cloaking operation on the current site or the specified
folder.