src/sap.ui.core/src/sap/ui/core/Element.js
function(element, key) {
			var aData = element.getAggregation("customData");
			if (aData) {
				for (var i = 0; i < aData.length; i++) {
					if (aData[i].getKey() == key) {
						return aData[i];
					}
				}
			}
			return null;
		}
function(element, key) {
			var aData = element.getAggregation("customData");
			if (aData) {
				for (var i = 0; i < aData.length; i++) {
					if (aData[i].getKey() == key) {
						return aData[i];
					}
				}
			}
			return null;
		}
function ( element , key ) { var aData = element . getAggregation ( "customData" ) ; if ( aData ) { for ( var i = 0 ; i < aData . length ; i ++ ) { if ( aData [ i ] . getKey ( ) == key ) { return aData [ i ] ; } } } return null ; }
Returns the data object with the given key
Returns the data object with the given key