src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js
function (aLibsData) {
				var oLibItem,
					iLen,
					i;

				// Find entity in loaded libs data
				for (i = 0, iLen = aLibsData.length; i < iLen; i++) {
					oLibItem = aLibsData[i];
					if (oLibItem.name === this._sTopicid) {
						// Check if we are allowed to display the requested symbol
						// BCP: 1870269087 item may not have visibility info at all. In this case we show the item
						if (oLibItem.visibility === undefined || this._aAllowedMembers.indexOf(oLibItem.visibility) >= 0) {
							return oLibItem;
						} else {
							// We found the requested symbol but we are not allowed to show it.
							return Promise.reject(this.NOT_FOUND);
						}
					}
				}

				// If we are here - the object does not exist so we reject the promise.
				return Promise.reject(this.NOT_FOUND);
			}
function (aLibsData) {
				var oLibItem,
					iLen,
					i;

				// Find entity in loaded libs data
				for (i = 0, iLen = aLibsData.length; i < iLen; i++) {
					oLibItem = aLibsData[i];
					if (oLibItem.name === this._sTopicid) {
						// Check if we are allowed to display the requested symbol
						// BCP: 1870269087 item may not have visibility info at all. In this case we show the item
						if (oLibItem.visibility === undefined || this._aAllowedMembers.indexOf(oLibItem.visibility) >= 0) {
							return oLibItem;
						} else {
							// We found the requested symbol but we are not allowed to show it.
							return Promise.reject(this.NOT_FOUND);
						}
					}
				}

				// If we are here - the object does not exist so we reject the promise.
				return Promise.reject(this.NOT_FOUND);
			}
function ( aLibsData ) { var oLibItem , iLen , i ; // Find entity in loaded libs data for ( i = 0 , iLen = aLibsData . length ; i < iLen ; i ++ ) { oLibItem = aLibsData [ i ] ; if ( oLibItem . name === this . _sTopicid ) { // Check if we are allowed to display the requested symbol // BCP: 1870269087 item may not have visibility info at all. In this case we show the item if ( oLibItem . visibility === undefined || this . _aAllowedMembers . indexOf ( oLibItem . visibility ) >= 0 ) { return oLibItem ; } else { // We found the requested symbol but we are not allowed to show it. return Promise . reject ( this . NOT_FOUND ) ; } } } // If we are here - the object does not exist so we reject the promise. return Promise . reject ( this . NOT_FOUND ) ; }
Extract current symbol data from api.json file for the current library
@param {array} aLibsData data from api.json file for the current library
@returns {object} current symbol data
@private
Extract current symbol data from api . json file for the current library