beautypg.com

Site.canselectallcheckedoutfiles(), Site.canselectnewer(), Site.cansynchronize() – Adobe Dreamweaver API Reference CS5 User Manual

Page 531

background image

526

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

Description
Checks whether Dreamweaver can perform a Refresh [Local | Remote] operation.

Arguments
localOrRemote

The localOrRemote argument must be either the

local

or

remote

keyword

.

Returns
A value of

true

if the localOrRemote argument is the

local

keyword; otherwise, a Boolean value that indicates

whether a remote site has been defined.

site.canSelectAllCheckedOutFiles()

Availability
Dreamweaver 4.

Description
Determines whether the current working site has the Check In/Check Out feature enabled.

Arguments
None.

Returns
A Boolean value:

true

if the site allows Check In/Check Out;

false

otherwise.

site.canSelectNewer()

Availability
Dreamweaver 3.

Description
Determines whether Dreamweaver can perform a Select Newer [Remote | Local] operation.

Arguments
localOrRemote

The localOrRemote argument must be either the

local

or

remote

keyword

.

Returns
A Boolean value that indicates whether the document belongs to a site for which a remote site has been defined.

site.canSynchronize()

Availability
Dreamweaver 3.