MTA Bus Time Wiki » SearchCode » Search Suggest Configuration » SearchSuggestSourceClass


Last modified by Administrator on 2010/07/28 11:53

Class: SearchSuggestSource

Class properties:

  • name (name: String)
  • url (url: String)
  • query (query: String)
  • resultsNumber (resultsNumber: String)
  • icon (icon: String)
  • highlight (highlight: Boolean)
  • activated (activated: Boolean)
  • You can use the class editor to add or modify the class properties.

The class sheet

Before using this class you must first create the sheet and template for it. Follow the instructions below to do this.

The Sheet allows to control the presentation of documents of this data type. You can use the default presentation, which enumerates all the available fields, or you can design your own presentation. You can also choose different presentations for the viewing and for the editing modes.

The class template

The Template is the document used as the model for documents of this data type. It will automatically contain a reference to the Sheet and an instance of your Class.


Created by Administrator on 2010/07/28 09:52

My Recent Modifications

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 3.2 - Documentation