class HomeController extends AbstractController

Class HomeController

Properties

protected Response $response from AbstractController
protected DatabaseInterface $dbi from AbstractController
protected Template $template from AbstractController

Methods

__construct(Response $response, DatabaseInterface $dbi, Template $template, Config $config, ThemeManager $themeManager)

HomeController constructor.

string
index()

No description

void
setTheme(array $params)

No description

void
setCollationConnection(array $params)

No description

array
reloadRecentTablesList()

No description

string
gitRevision()

No description

Details

at line 55
__construct(Response $response, DatabaseInterface $dbi, Template $template, Config $config, ThemeManager $themeManager)

HomeController constructor.

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used (if provided, default one otherwise)
Config $config Config instance
ThemeManager $themeManager ThemeManager instance

at line 66
string index()

Return Value

string HTML

at line 283
void setTheme(array $params)

Parameters

array $params Request parameters

Return Value

void

at line 298
void setCollationConnection(array $params)

Parameters

array $params Request parameters

Return Value

void

at line 311
array reloadRecentTablesList()

Return Value

array JSON

at line 321
string gitRevision()

Return Value

string HTML