class Search (View source)

Class to handle database search

Properties

Template $template

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

DatabaseInterface object

string $db

Database name

Template $template

Template object

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