class VariablesController extends AbstractController (View source)

Properties

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

Methods

__construct(Response $response, DatabaseInterface $dbi, Template $template, Data $data)

No description

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

No description

void
addScriptFiles(array $files)

No description

void
index()

No description

Details

__construct(Response $response, DatabaseInterface $dbi, Template $template, Data $data)

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
Data $data Data object

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