function getBindingOrContext(iPart) {
			if (!vBindingOrContext) {
				// lazy initialization
				// BEWARE: this is not yet defined when createContextInterface() is called!
				vBindingOrContext = oWithControl.getBinding("any");

				if (vBindingOrContext instanceof CompositeBinding) {
					vBindingOrContext = vBindingOrContext.getBindings();

					if (i !== undefined) { // not a root formatter
						vBindingOrContext = vBindingOrContext[i];
					}
				}
			}

			return Array.isArray(vBindingOrContext)
				? vBindingOrContext[iPart]
				: vBindingOrContext;
		}
function getBindingOrContext(iPart) {
			if (!vBindingOrContext) {
				// lazy initialization
				// BEWARE: this is not yet defined when createContextInterface() is called!
				vBindingOrContext = oWithControl.getBinding("any");

				if (vBindingOrContext instanceof CompositeBinding) {
					vBindingOrContext = vBindingOrContext.getBindings();

					if (i !== undefined) { // not a root formatter
						vBindingOrContext = vBindingOrContext[i];
					}
				}
			}

			return Array.isArray(vBindingOrContext)
				? vBindingOrContext[iPart]
				: vBindingOrContext;
		}
function getBindingOrContext ( iPart ) { if ( ! vBindingOrContext ) { // lazy initialization // BEWARE: this is not yet defined when createContextInterface() is called! vBindingOrContext = oWithControl . getBinding ( "any" ) ; if ( vBindingOrContext instanceof CompositeBinding ) { vBindingOrContext = vBindingOrContext . getBindings ( ) ; if ( i !== undefined ) { // not a root formatter vBindingOrContext = vBindingOrContext [ i ] ; } } } return Array . isArray ( vBindingOrContext ) ? vBindingOrContext [ iPart ] : vBindingOrContext ; }
/*
Returns the single binding or model context related to the current formatter call.

@param {number} [iPart]
index of part in case of the root formatter of a composite binding
@returns {sap.ui.model.Binding|sap.ui.model.Context}
single binding or model context
/ * Returns the single binding or model context related to the current formatter call .
Returns the binding or context for the given part