class CentralColumnsController extends AbstractController

Class CentralColumnsController

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, CentralColumns $centralColumns)

CentralColumnsController constructor.

string
index(array $params)

No description

array
getColumnList(array $params)

No description

string
populateColumns(array $params)

No description

true|Message
editSave(array $params)

No description

true|Message
addNewColumn(array $params)

No description

true|Message
addColumn(array $params)

No description

string
editPage(array $params)

No description

true|Message
updateMultipleColumn(array $params)

No description

true|Message
deleteSave(array $params)

No description

Details

at line 38
__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db, CentralColumns $centralColumns)

CentralColumnsController 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
CentralColumns $centralColumns CentralColumns instance

at line 48
string index(array $params)

Parameters

array $params Request parameters

Return Value

string HTML

at line 78
array getColumnList(array $params)

Parameters

array $params Request parameters

Return Value

array JSON

at line 90
string populateColumns(array $params)

Parameters

array $params Request parameters

Return Value

string HTML

at line 102
true|Message editSave(array $params)

Parameters

array $params Request parameters

Return Value

true|Message

at line 126
true|Message addNewColumn(array $params)

Parameters

array $params Request parameters

Return Value

true|Message

at line 150
true|Message addColumn(array $params)

Parameters

array $params Request parameters

Return Value

true|Message

at line 163
string editPage(array $params)

Parameters

array $params Request parameters

Return Value

string HTML

at line 175
true|Message updateMultipleColumn(array $params)

Parameters

array $params Request parameters

Return Value

true|Message

at line 184
true|Message deleteSave(array $params)

Parameters

array $params Request parameters

Return Value

true|Message