Specifications

Data Sources 197
inspectDynamicDataRef()
Availability
Dreamweaver UltraDev 1
Description
From a dynamic data object, determines the corresponding node in the data source tree. The
inspectDynamicDataRef() function compares the passed-in string to the string that
generateDynamicDataRef() returns for each node in the tree. If a match is found, the
inspectDynamicDataRef() function indicates which node in the tree matches the passed-in
string. The function identifies the node by using an array that contains two elements. The first
element is the parent name of the parent node, and the second element is the name of the child
node. If no match is found,
inspectDynamicDataRef() returns an empty array.
Each implementation of
inspectDynamicDataRef() checks only for matches of its own object
type. For example, the recordset implementation of
inspectDynamicDataRef() finds a match
only if the passed-in string matches a recordset node in the tree.
Arguments
string
string
is the dynamic data object.
Returns
Dreamweaver expects an array of two elements (parent name and child name) for the matched
node;
null if no matches are found.