class RoutinesController extends AbstractController (View source)

Routines management.

Properties

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

Methods

__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db, CheckUserPrivileges $checkUserPrivileges)

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, string $db, CheckUserPrivileges $checkUserPrivileges)

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
string $db Database name
CheckUserPrivileges $checkUserPrivileges CheckUserPrivileges 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