inspectDynamicDataRef()
Availability
Adobe Dreamweaver UltraDev 1.
Description
This function determines the corresponding node in the data source tree from a dynamic data object. The inspectDynamicDataRef() function takes the string that Adobe Dreamweaver passes in and compares it 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 name of the parent node, and the second element is the name of the child node. If no match is found, the inspectDynamicDataRef() function returns an empty array.
Each implementation of the inspectDynamicDataRef() function checks only for matches of its own object type. For example, the recordset implementation of the inspectDynamicDataRef() function finds a match only if the passed-in string matches a recordset node in the tree.
Arguments
string
- The
stringargument is the dynamic data object.
Returns
Adobe Dreamweaver expects an array of two elements (parent name and child name) for the matched node; it returns a null value if no matches are found.