Dreamweaver.getrelatedfilesfilter(), Dreamweaver.setrelatedfilesfilter(), Dreamweaver.getquickrelatedfilesfilterstrings() – Adobe Dreamweaver API Reference CS5 User Manual
Page 195
190
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Arguments
None.
Returns
A string that is the absolute local URL of the related file.
dreamweaver.getRelatedFilesFilter()
Availability
Dreamweaver CS5.
Description
This function is used to get the filename filter applied to the related files.
Arguments
None.
Returns
A
DWFilenameFilter
object representing the filter currently applied to the related files. An empty filter object
indicates that all the files will be displayed in the Related Files bar.
DWFilenameFilter
objects are new in Dreamweaver CS5. They are used to restrict the files displayed in the Related
Files bar.
dreamweaver.setRelatedFilesFilter()
Availability
Dreamweaver CS5.
Description
This function is used to set the filter applied to the Related Files Bar.
Arguments
A String or a DWFilenameFilter. For example, “
.js
”, “
.php
”, “*
.js
”, “*
.php.js
”, “*
.css
”, “”, “
b*.js
”, “
b*.*
”,
“
*.js;.css
”. An empty string will display all the files in the Related Files bar.
Returns
None.
dreamweaver.getQuickRelatedFilesFilterStrings()
Availability
Dreamweaver CS5.
Description
This function is used to get the array of String objects representing extensions of the files shown in the Related Files bar.