Class: SearchController

Controllers.SearchController

new SearchController()

Source:

Members

(static) self.error :boolean

Flag if there was an error receiving a response
Type:
  • boolean
Source:
The external search link.
Type:
  • string
Source:

(static) self.query :string

The search query
Type:
  • string
Source:

(static) self.results :array

The search results.
Type:
  • array
Source:

Methods

(static) self.extension(url)

Determines what extension (if any) the URI is referencing
Parameters:
Name Type Description
url string The URL
Source:
Returns:
The extension abbreviation
Get the absolute URL of an internal link
Parameters:
Name Type Description
path string
name string
Source:
Returns:
The absolute URL

(static) self.markdown(text)

Parses possible markdown, or other encoded text, as HTML
Parameters:
Name Type Description
text string The text to parse
Source:
Returns:
The text in HTML format