src/sap.ui.demokit/src/sap/ui/demokit/explored/view/entity.controller.js
function (sType) {
			if (!sType) {
				return null;
			} else {
				// remove core prefix
				sType = sType.replace("sap.ui.core.", "");
				// only take text after last dot
				var index = sType.lastIndexOf(".");
				return (index !== -1) ? sType.substr(index + 1) : sType;
			}
		}
function (sType) {
			if (!sType) {
				return null;
			} else {
				// remove core prefix
				sType = sType.replace("sap.ui.core.", "");
				// only take text after last dot
				var index = sType.lastIndexOf(".");
				return (index !== -1) ? sType.substr(index + 1) : sType;
			}
		}
function ( sType ) { if ( ! sType ) { return null ; } else { // remove core prefix sType = sType . replace ( "sap.ui.core." , "" ) ; // only take text after last dot var index = sType . lastIndexOf ( "." ) ; return ( index !== - 1 ) ? sType . substr ( index + 1 ) : sType ; } }
Converts the type to a friendly readable text
Converts the type to a friendly readable text