Adobe 38040334 - Dreamweaver CS3 User Manual page 305

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
299
Extending Dreamweaver
Note: A JavaScript class that defines these properties exists in the DataSourceClass.js file, which is located in the
Configuration/Shared/Common/Scripts folder.
inspectDynamicDataRef()
Availability
Dreamweaver UltraDev 1.
Description
This function determines the corresponding node in the data source tree from a dynamic data object. The
function takes the string that Dreamweaver passes in and compares it to the string that
inspectDynamicDataRef()
returns for each node in the tree. If a match is found, the
generateDynamicDataRef()
inspectDynamicDa-
function indicates which node in the tree matches the passed-in string. The function identifies the node by
taRef()
using an array that contains two elements. The first element is the name of the parent node, and the second element
is the name of the child node. If no match is found, the
function returns an empty
inspectDynamicDataRef()
array.
Each implementation of the
function checks only for matches of its own object type.
inspectDynamicDataRef()
For example, the recordset implementation of the
function finds a match only if the
inspectDynamicDataRef()
passed-in string matches a recordset node in the tree.
Arguments
string
• The
argument is the dynamic data object.
string
Returns
Dreamweaver expects an array of two elements (parent name and child name) for the matched node; it returns a
value if no matches are found.
null

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents