class IndexesController extends AbstractController

Class IndexesController

Properties

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

Methods

__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db, string $table, Index $index)

Constructor

void
indexAction()

Index

void
displayFormAction()

Display the form to edit/create an index

void
doSaveDataAction()

Process the data from the edit/create index form, run the query to build the new index and moves back to "tbl_sql.php"

Details

at line 41
__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db, string $table, Index $index)

Constructor

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used (if provided, default one otherwise)
string $db Database name
string $table Table name
Index $index Index object

at line 59
void indexAction()

Index

Return Value

void

at line 74
void displayFormAction()

Display the form to edit/create an index

Return Value

void

at line 139
void doSaveDataAction()

Process the data from the edit/create index form, run the query to build the new index and moves back to "tbl_sql.php"

Return Value

void