src/sap.m/src/sap/m/BarInPageEnabler.js
function (sContext) {
			var oContext;

			if (this.getContext) {
				oContext = this.getContext();
			} else {
				oContext = mContexts;
			}

			var oOptions = oContext[sContext];

			if (!oOptions) {
				Log.error("The context " + sContext + " is not known", this);

				return null;
			}

			return oOptions;
		}
function (sContext) {
			var oContext;

			if (this.getContext) {
				oContext = this.getContext();
			} else {
				oContext = mContexts;
			}

			var oOptions = oContext[sContext];

			if (!oOptions) {
				Log.error("The context " + sContext + " is not known", this);

				return null;
			}

			return oOptions;
		}
function ( sContext ) { var oContext ; if ( this . getContext ) { oContext = this . getContext ( ) ; } else { oContext = mContexts ; } var oOptions = oContext [ sContext ] ; if ( ! oOptions ) { Log . error ( "The context " + sContext + " is not known" , this ) ; return null ; } return oOptions ; }
Get context options of the Page.

Possible contexts are header, footer, subheader.
@param {string} sContext allowed values are header, footer, subheader.
@returns {object|null}
@private
Get context options of the Page .