function (sId, oDoc, oEntity, oControlsData) {

				// convert docu
				var oData = this._convertEntityInfo(sId, oDoc, oControlsData),
					bShouldShowSamplesSection = false,
					iSamplesCount = 0;

				oData.show.introLink = false;

				if (oEntity) {

					// show the description as intro text if the entity is not deprecated
					if (!oData.shortDescription && oEntity.description) {
						oData.shortDescription = oEntity.description;
					}

					if (!oData.baseName) {
						oData.baseName = oEntity.name;
					}

					// make intro text active if a documentation link is set
					if (oEntity.docuLink) {
						oData.show.introLink = true;
						oData.docuLink = oEntity.docuLink.replace("docs/guide", "topic").replace(/\.html$/, "");
						oData.docuLinkText = oData.baseName;
					}

					bShouldShowSamplesSection = oEntity.samples.length > 0;
					iSamplesCount = oEntity.samples.length;
				}

				// apply entity related stuff
				oData.show.samples = bShouldShowSamplesSection;
				oData.count.samples = iSamplesCount;
				oData.entity = oEntity;

				if (oDoc) {
					// make intro text active if a documentation link is set
					if (oDoc.docuLink) {
						oData.show.introLink = true;
						oData.docuLink = "#/topic/" + oDoc.docuLink;
						oData.docuLinkText = oDoc.docuLinkText;
					}

					oData.uxGuidelinesLink = oDoc.uxGuidelinesLink;
					oData.uxGuidelinesLinkText = oDoc.uxGuidelinesLinkText;
				}

				// done
				return oData;
			}
function (sId, oDoc, oEntity, oControlsData) {

				// convert docu
				var oData = this._convertEntityInfo(sId, oDoc, oControlsData),
					bShouldShowSamplesSection = false,
					iSamplesCount = 0;

				oData.show.introLink = false;

				if (oEntity) {

					// show the description as intro text if the entity is not deprecated
					if (!oData.shortDescription && oEntity.description) {
						oData.shortDescription = oEntity.description;
					}

					if (!oData.baseName) {
						oData.baseName = oEntity.name;
					}

					// make intro text active if a documentation link is set
					if (oEntity.docuLink) {
						oData.show.introLink = true;
						oData.docuLink = oEntity.docuLink.replace("docs/guide", "topic").replace(/\.html$/, "");
						oData.docuLinkText = oData.baseName;
					}

					bShouldShowSamplesSection = oEntity.samples.length > 0;
					iSamplesCount = oEntity.samples.length;
				}

				// apply entity related stuff
				oData.show.samples = bShouldShowSamplesSection;
				oData.count.samples = iSamplesCount;
				oData.entity = oEntity;

				if (oDoc) {
					// make intro text active if a documentation link is set
					if (oDoc.docuLink) {
						oData.show.introLink = true;
						oData.docuLink = "#/topic/" + oDoc.docuLink;
						oData.docuLinkText = oDoc.docuLinkText;
					}

					oData.uxGuidelinesLink = oDoc.uxGuidelinesLink;
					oData.uxGuidelinesLinkText = oDoc.uxGuidelinesLinkText;
				}

				// done
				return oData;
			}
function ( sId , oDoc , oEntity , oControlsData ) { // convert docu var oData = this . _convertEntityInfo ( sId , oDoc , oControlsData ) , bShouldShowSamplesSection = false , iSamplesCount = 0 ; oData . show . introLink = false ; if ( oEntity ) { // show the description as intro text if the entity is not deprecated if ( ! oData . shortDescription && oEntity . description ) { oData . shortDescription = oEntity . description ; } if ( ! oData . baseName ) { oData . baseName = oEntity . name ; } // make intro text active if a documentation link is set if ( oEntity . docuLink ) { oData . show . introLink = true ; oData . docuLink = oEntity . docuLink . replace ( "docs/guide" , "topic" ) . replace ( / \.html$ / , "" ) ; oData . docuLinkText = oData . baseName ; } bShouldShowSamplesSection = oEntity . samples . length > 0 ; iSamplesCount = oEntity . samples . length ; } // apply entity related stuff oData . show . samples = bShouldShowSamplesSection ; oData . count . samples = iSamplesCount ; oData . entity = oEntity ; if ( oDoc ) { // make intro text active if a documentation link is set if ( oDoc . docuLink ) { oData . show . introLink = true ; oData . docuLink = "#/topic/" + oDoc . docuLink ; oData . docuLinkText = oDoc . docuLinkText ; } oData . uxGuidelinesLink = oDoc . uxGuidelinesLink ; oData . uxGuidelinesLinkText = oDoc . uxGuidelinesLinkText ; } // done return oData ; }
========= internal ===========================================================================
========= internal ===========================================================================
Converts the given entity to a data structure