User Guide

588 Enablers
site.canCheckOut()
Availability
Dreamweaver 3.
Description
Determines whether Dreamweaver can perform a Check Out operation on the specified file
or files.
Arguments
siteOrURL
The siteOrURL argument 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: true if all the following conditions are true; false otherwise:
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.
The Check In/Check Out feature is turned on for the site.
site.canCloak()
Availability
Dreamweaver MX.
Description
Determines whether Dreamweaver can perform a Cloaking operation.
Arguments
siteOrURL
The siteOrURL argument must be the site keyword, which indicates that the
canCloak() function should act on the selection in the Site panel or the URL of a
particular folder, which indicates that the
canCloak() function should act on the
specified folder and all its contents.
000_DW_API_Print.book Page 588 Wednesday, July 20, 2005 11:58 AM