Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_get_all
  
dlgitem_get_all
dlgitem_get_all (window, attribute, array)
Fills array, an associative array, with the value of the attribute for all of the dialog items in window. If a particular dialog item does not have the attribute, no entry is made in the array. If no dialog items have the attribute, $ERROR is set and 0 is returned. Otherwise, 1 is returned.
The window parameter is a window identifier. The attribute parameter specifies the attribute to get. The values parameter specifies the associative array to fill.
Example
$ret = dlgitem_get_all($win, "VALUE", $Values)
Returns the following array:
$Values["NameField"]: "Jeff"
$Values["AgeField"]: "35"
$Values["StateField"]: "MD"