src/sap.ui.commons/src/sap/ui/commons/FormattedTextView.js
function (aControls) {
			if (this.hasControls()) {
				this.removeAllAggregation("controls");
			}

			var bIsArray = Array.isArray(aControls);
			if (bIsArray && aControls.length > 0) {
				// iterate through the given array but suppress invalidate
				for (var i = 0; i < aControls.length; i++) {
					this.addAggregation("controls", aControls[i], true);
				}
				this.invalidate();
			}
		}
function (aControls) {
			if (this.hasControls()) {
				this.removeAllAggregation("controls");
			}

			var bIsArray = Array.isArray(aControls);
			if (bIsArray && aControls.length > 0) {
				// iterate through the given array but suppress invalidate
				for (var i = 0; i < aControls.length; i++) {
					this.addAggregation("controls", aControls[i], true);
				}
				this.invalidate();
			}
		}
function ( aControls ) { if ( this . hasControls ( ) ) { this . removeAllAggregation ( "controls" ) ; } var bIsArray = Array . isArray ( aControls ) ; if ( bIsArray && aControls . length > 0 ) { // iterate through the given array but suppress invalidate for ( var i = 0 ; i < aControls . length ; i ++ ) { this . addAggregation ( "controls" , aControls [ i ] , true ) ; } this . invalidate ( ) ; } }
Sets the controls to be rendered.
@param {array} aControls Controls should be rendered
@private
Sets the controls to be rendered .