class HomeController extends AbstractController (View source)

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)

No description

void
render(string $template, array $data = [])

No description

void
addScriptFiles(array $files)

No description

void
index()

No description

void
setTheme()

No description

void
setCollationConnection()

No description

void
reloadRecentTablesList()

No description

void
gitRevision()

No description

Details

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

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
Config $config Config instance
ThemeManager $themeManager ThemeManager instance

protected void render(string $template, array $data = [])

Parameters

string $template Template path name.
array $data Associative array of template variables.

Return Value

void

protected void addScriptFiles(array $files)

Parameters

array $files

Return Value

void

void index()

Return Value

void

void setTheme()

Return Value

void

void setCollationConnection()

Return Value

void

void reloadRecentTablesList()

Return Value

void

void gitRevision()

Return Value

void