function _getAggregatedControls(mAggregations) {
		var aResult = [];
		for (var sAggregation in mAggregations) {
			var vAggregation = mAggregations[sAggregation];
			if (Array.isArray(vAggregation)) {
				// "width limit" - check only the first 20 controls in 1 aggregation
				aResult = aResult.concat(vAggregation.slice(0, 20));
			} else if (vAggregation) {
				aResult.push(vAggregation);
			}
		}
		aResult = aResult.filter(function (oControl) {
			// filter out non-control aggregations e.g. layoutData or dnd
			return oControl.getMetadata && oControl.getMetadata().getName() && oControl.$().length;
		});
		return aResult;
	}
// get all controls in an aggregations object
get all controls in an aggregations object
get all controls in an aggregations object
function _getAggregatedControls(mAggregations) {
		var aResult = [];
		for (var sAggregation in mAggregations) {
			var vAggregation = mAggregations[sAggregation];
			if (Array.isArray(vAggregation)) {
				aResult = aResult.concat(vAggregation.slice(0, 20));
			} else if (vAggregation) {
				aResult.push(vAggregation);
			}
		}
		aResult = aResult.filter(function (oControl) {
			return oControl.getMetadata && oControl.getMetadata().getName() && oControl.$().length;
		});
		return aResult;
	}
function _getAggregatedControls ( mAggregations ) { var aResult = [ ] ; for ( var sAggregation in mAggregations ) { var vAggregation = mAggregations [ sAggregation ] ; if ( Array . isArray ( vAggregation ) ) { aResult = aResult . concat ( vAggregation . slice ( 0 , 20 ) ) ; } else if ( vAggregation ) { aResult . push ( vAggregation ) ; } } aResult = aResult . filter ( function ( oControl ) { return oControl . getMetadata && oControl . getMetadata ( ) . getName ( ) && oControl . $ ( ) . length ; } ) ; return aResult ; }
get all controls in an aggregations object
get all controls in an aggregations object
// "width limit" - check only the first 20 controls in 1 aggregation // filter out non-control aggregations e.g. layoutData or dnd