Page.getAllControls

Returns an array of all controls on the page in display order.

Javascript example:

 for each (var ctrl in pages.PAGE_1.allControls)
 {
   log(ctrl.elementName);
 }
 

returns UNKNOWNcom.ebasetech.xi.api.controls.Control[]