class Search

Class to handle database search

Properties

Template $template

Methods

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

Public Constructor

string
getSearchResults()

Displays database search results

string
getMainHtml()

Provides the main search form's html

Details

at line 103
__construct(DatabaseInterface $dbi, string $db, Template $template)

Public Constructor

Parameters

DatabaseInterface $dbi DatabaseInterface object
string $db Database name
Template $template Template object

at line 284
string getSearchResults()

Displays database search results

Return Value

string HTML for search results

at line 320
string getMainHtml()

Provides the main search form's html

Return Value

string HTML for selection form