src/sap.ui.table/src/sap/ui/table/rules/TableHelper.support.js
function(oScope, bVisibleOnly, sType) {
			var mElements = oScope.getElements();
			var aResult = [];
			for (var n in mElements) {
				var oElement = mElements[n];
				if (oElement.isA(sType)) {
					if (bVisibleOnly && oElement.getDomRef() || !bVisibleOnly) {
						aResult.push(oElement);
					}
				}
			}
			return aResult;
		}
function(oScope, bVisibleOnly, sType) {
			var mElements = oScope.getElements();
			var aResult = [];
			for (var n in mElements) {
				var oElement = mElements[n];
				if (oElement.isA(sType)) {
					if (bVisibleOnly && oElement.getDomRef() || !bVisibleOnly) {
						aResult.push(oElement);
					}
				}
			}
			return aResult;
		}
function ( oScope , bVisibleOnly , sType ) { var mElements = oScope . getElements ( ) ; var aResult = [ ] ; for ( var n in mElements ) { var oElement = mElements [ n ] ; if ( oElement . isA ( sType ) ) { if ( bVisibleOnly && oElement . getDomRef ( ) || ! bVisibleOnly ) { aResult . push ( oElement ) ; } } } return aResult ; }
Return all existing control instances of the given type.
@param {object} oScope The scope as given in the rule check function.
@param {boolean} bVisibleOnly Whether all existing controls or only the ones which currently have a DOM reference should be returned.
@param {string} sType The type
@returns {sap.ui.core.Element[]} All existing control instances
Return all existing control instances of the given type .