Adobe 38040334 - Dreamweaver CS3 User Manual page 472

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

site.canPut()
Availability
Dreamweaver 3.
Description
Determines whether Dreamweaver can perform a Put operation.
Arguments
siteOrURL
• The
argument must be the
siteOrURL
selection in the Site panel, or the URL for a single file.
Returns
One of the following values:
• If the argument is the keyword
a remote site has been defined; otherwise
• If the argument is a URL, returns the value
defined; otherwise
false
site.canRecreateCache()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Recreate Site Cache operation.
Arguments
None.
Returns
A Boolean value:
if the Use Cache To Speed Link Updates option is enabled for the current site.
true
site.canRefresh()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Refresh [Local | Remote] operation.
Arguments
localOrRemote
• The
argument must be either the
localOrRemote
keyword, which indicates that the function should act on the
site
, returns the value
site
.
false
if the document belongs to a site for which a remote site has been
true
.
local
if any files or folders are selected in the Site panel and
true
or
keyword
remote
.
DREAMWEAVER CS3
467
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents