class AjaxController extends AbstractController (View source)

Generic AJAX endpoint for getting information about database

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)

No description

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

No description

void
addScriptFiles(array $files)

No description

void
databases()

No description

void
tables()

No description

void
columns()

No description

void
getConfig()

No description

void
setConfig()

No description

Details

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

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
Config $config Config 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 databases()

Return Value

void

void tables()

Return Value

void

void columns()

Return Value

void

void getConfig()

Return Value

void

void setConfig()

Return Value

void