src/sap.ui.fl/src/sap/ui/fl/Utils.js
function (oControl) {
			var sComponentId = Utils._getOwnerIdForControl(oControl);
			if (!sComponentId) {
				if (oControl && typeof oControl.getParent === "function") {
					var oParent = oControl.getParent();
					if (oParent) {
						return Utils._getComponentIdForControl(oParent);
					}
				}
			}
			return sComponentId || "";
		}
function (oControl) {
			var sComponentId = Utils._getOwnerIdForControl(oControl);
			if (!sComponentId) {
				if (oControl && typeof oControl.getParent === "function") {
					var oParent = oControl.getParent();
					if (oParent) {
						return Utils._getComponentIdForControl(oParent);
					}
				}
			}
			return sComponentId || "";
		}
function ( oControl ) { var sComponentId = Utils . _getOwnerIdForControl ( oControl ) ; if ( ! sComponentId ) { if ( oControl && typeof oControl . getParent === "function" ) { var oParent = oControl . getParent ( ) ; if ( oParent ) { return Utils . _getComponentIdForControl ( oParent ) ; } } } return sComponentId || "" ; }
Returns ComponentId of the control. If the control has no component, it walks up the control tree in order to find a control having one

@param {sap.ui.core.Control} oControl - SAPUI5 control
@returns {String} The component id or empty string if component id couldn't be found
@see sap.ui.core.Component.getOwnerIdFor
@private
Returns ComponentId of the control . If the control has no component it walks up the control tree in order to find a control having one