Site.canuncloak(), Site.canundocheckout() – Adobe Dreamweaver API Reference CS5 User Manual
Page 532

527
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
Description
Determines whether Dreamweaver can perform a Synchronize operation.
Arguments
None.
Returns
A Boolean value that indicates whether a remote site has been defined.
site.canUncloak()
Availability
Dreamweaver MX.
Description
Determines whether Dreamweaver can perform an uncloaking operation.
Arguments
siteOrURL
•
The siteOrURL argument must be the
site
keyword, which indicates that the
canUncloak()
function should act
on the selection in the Site panel or the URL of a particular folder, which indicates that the
canUncloak()
function
should act on the specified folder and all its contents.
Returns
A Boolean value:
true
if Dreamweaver can perform the uncloaking operation on the current site or the specified
folder;
false
otherwise.
site.canUndoCheckOut()
Availability
Dreamweaver 3.
Description
Determines whether Dreamweaver can perform an Undo Check Out operation.
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 the specified file or at least one of the selected files is checked out.