src/sap.ui.core/src/sap/ui/core/mvc/ControllerExtension.js
function() {
				var mMethods = {};
				var oMetadata = this.getMetadata();
				var aPublicMethods = oMetadata.getAllPublicMethods();

				aPublicMethods.forEach(function(sMethod) {
					var fnFunction = this[sMethod];
					if (typeof fnFunction === 'function') {
						mMethods[sMethod] = function() {
							var tmp = fnFunction.apply(this, arguments);
							return (tmp instanceof ControllerExtension) ? tmp.getInterface() : tmp;
						}.bind(this);
					}
					//}
				}.bind(this));
				this.getInterface = function() {
					return mMethods;
				};
				return mMethods;
			}
function() {
				var mMethods = {};
				var oMetadata = this.getMetadata();
				var aPublicMethods = oMetadata.getAllPublicMethods();

				aPublicMethods.forEach(function(sMethod) {
					var fnFunction = this[sMethod];
					if (typeof fnFunction === 'function') {
						mMethods[sMethod] = function() {
							var tmp = fnFunction.apply(this, arguments);
							return (tmp instanceof ControllerExtension) ? tmp.getInterface() : tmp;
						}.bind(this);
					}
					//}
				}.bind(this));
				this.getInterface = function() {
					return mMethods;
				};
				return mMethods;
			}
function ( ) { var mMethods = { } ; var oMetadata = this . getMetadata ( ) ; var aPublicMethods = oMetadata . getAllPublicMethods ( ) ; aPublicMethods . forEach ( function ( sMethod ) { var fnFunction = this [ sMethod ] ; if ( typeof fnFunction === 'function' ) { mMethods [ sMethod ] = function ( ) { var tmp = fnFunction . apply ( this , arguments ) ; return ( tmp instanceof ControllerExtension ) ? tmp . getInterface ( ) : tmp ; } . bind ( this ) ; } //} } . bind ( this ) ) ; this . getInterface = function ( ) { return mMethods ; } ; return mMethods ; }
Returns the public interface for this exetension

@returns {object} oInterface The public interface for this extension
@private
Returns the public interface for this exetension