beautypg.com

Dwfilenamefilter.empty() – Adobe Dreamweaver API Reference CS5 User Manual

Page 205

background image

200

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

Description
This function is used to add an extension to the filter object’s exclusion list.

Arguments

extension

- A string or a

DWUri

object.

This argument represents the file name or the extension that needs to be added to the filter.

The argument can be an extension or a fully qualified local filename or remote URL as a string or a valid

DWUri

object.

Returns
A string containing semicolon separated values that represents the list of filters in the advanced expression.

For example,

"*.css;help*.js"

DWFilenameFilter.removeExtensionFromExclusionExpression()

Availability
Dreamweaver CS5.

Description
This function is used to remove an extension from the filter object’s exclusion list.

Arguments

extension

- A string or a

DWUri

object.

This argument represents the file name or the extension that needs to be removed from the filter.

The argument can be an extension or a fully qualified local filename or remote URL as a string or a valid

DWUri

object.

Returns
None.

DWFilenameFilter.empty()

Availability
Dreamweaver CS5.

Description
This function is used to clear the filter.

An empty filter will match all the files.

Arguments
None.

Returns
None.