class Search (View source)

Class to handle database search

Methods

__construct(DatabaseInterface $dbi, string $db, Template $template)

No description

string
getSearchResults()

Displays database search results

string
getMainHtml()

Provides the main search form's html

Details

__construct(DatabaseInterface $dbi, string $db, Template $template)

No description

Parameters

DatabaseInterface $dbi
string $db
Template $template

string getSearchResults()

Displays database search results

Return Value

string

HTML for search results

string getMainHtml()

Provides the main search form's html

Return Value

string

HTML for selection form