source/models/search-result-list.js
function( text2search, noSearchPhrase, noSearchResult ) {

  Array.call( this );

  /**
   * Gets the text to search.
   * @type {string|null}
   */
  this.text2search = text2search || null;

  /**
   * Gets a message to display when search phrase is missing.
   * @type {string}
   */
  this.noSearchPhrase = noSearchPhrase;

  /**
   * Gets a message to display when search did not found the text in the contents.
   * @type {string}
   */
  this.noSearchResult = noSearchResult;
}
function( text2search, noSearchPhrase, noSearchResult ) {

  Array.call( this );

  /**
   * Gets the text to search.
   * @type {string|null}
   */
  this.text2search = text2search || null;

  /**
   * Gets a message to display when search phrase is missing.
   * @type {string}
   */
  this.noSearchPhrase = noSearchPhrase;

  /**
   * Gets a message to display when search did not found the text in the contents.
   * @type {string}
   */
  this.noSearchResult = noSearchResult;
}
function ( text2search , noSearchPhrase , noSearchResult ) { Array . call ( this ) ; /**
   * Gets the text to search.
   * @type {string|null}
   */ this . text2search = text2search || null ; /**
   * Gets a message to display when search phrase is missing.
   * @type {string}
   */ this . noSearchPhrase = noSearchPhrase ; /**
   * Gets a message to display when search did not found the text in the contents.
   * @type {string}
   */ this . noSearchResult = noSearchResult ; }
Represents a search result collection.
@param {string} text2search - The text to search.
@param {string} noSearchPhrase - The message when search phrase is missing.
@param {string} noSearchResult - The message when search has no result.
@constructor
Represents a search result collection .