function(oControl, mParams) {
			mParams = mParams || this._determineParameters(oControl);
			var fnCheckForControl = function (oControl) {
				if (!mParams.variantManagement[oControl.getId()] && oControl.getParent() && oControl.getId() !== mParams.rootControl.getId()) {
					return fnCheckForControl(oControl.getParent());
				} else if (!oControl.getParent() || oControl.getId() === mParams.rootControl.getId()) {
					return mParams.variantManagement[oControl.getId()] || "";
				} else {
					return mParams.variantManagement[oControl.getId()];
				}
			};

			return fnCheckForControl(oControl);
		}
function(oControl, mParams) {
			mParams = mParams || this._determineParameters(oControl);
			var fnCheckForControl = function (oControl) {
				if (!mParams.variantManagement[oControl.getId()] && oControl.getParent() && oControl.getId() !== mParams.rootControl.getId()) {
					return fnCheckForControl(oControl.getParent());
				} else if (!oControl.getParent() || oControl.getId() === mParams.rootControl.getId()) {
					return mParams.variantManagement[oControl.getId()] || "";
				} else {
					return mParams.variantManagement[oControl.getId()];
				}
			};

			return fnCheckForControl(oControl);
		}
function ( oControl , mParams ) { mParams = mParams || this . _determineParameters ( oControl ) ; var fnCheckForControl = function ( oControl ) { if ( ! mParams . variantManagement [ oControl . getId ( ) ] && oControl . getParent ( ) && oControl . getId ( ) !== mParams . rootControl . getId ( ) ) { return fnCheckForControl ( oControl . getParent ( ) ) ; } else if ( ! oControl . getParent ( ) || oControl . getId ( ) === mParams . rootControl . getId ( ) ) { return mParams . variantManagement [ oControl . getId ( ) ] || "" ; } else { return mParams . variantManagement [ oControl . getId ( ) ] ; } } ; return fnCheckForControl ( oControl ) ; }
Returns the local ID of the encompassing variant management control.

@param {sap.ui.core.Element} oControl - The control for which a variant management control has to be evaluated
@returns {object} Returns a map with needed parameters
@private
Returns the local ID of the encompassing variant management control .
Returns the variantManagement parameters for the control.