class CentralColumnsController extends AbstractController (View source)

Properties

protected ResponseRenderer $response from  AbstractController
protected Template $template from  AbstractController
protected string $db from  AbstractController

Methods

__construct(ResponseRenderer $response, Template $template, string $db, CentralColumns $centralColumns)

No description

void
render(string $templatePath, array $templateData = [])

No description

void
addScriptFiles(array $files)

No description

bool
hasDatabase()

No description

void
redirect(string $route, array $params = [])

No description

void
__invoke()

No description

void
main(array $params)

No description

array
getColumnList(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

void
editPage(array $params)

No description

true|Message
updateMultipleColumn(array $params)

No description

true|Message
deleteSave(array $params)

No description

Details

__construct(ResponseRenderer $response, Template $template, string $db, CentralColumns $centralColumns)

No description

Parameters

ResponseRenderer $response
Template $template
string $db
CentralColumns $centralColumns

protected void render(string $templatePath, array $templateData = [])

No description

Parameters

string $templatePath
array $templateData

Return Value

void

protected void addScriptFiles(array $files)

No description

Parameters

array $files

Return Value

void

protected bool hasDatabase()

No description

Return Value

bool

protected void redirect(string $route, array $params = [])

No description

Parameters

string $route
array $params

Return Value

void

void __invoke()

No description

Return Value

void

void main(array $params)

No description

Parameters

array $params

Request parameters

Return Value

void

array getColumnList(array $params)

No description

Parameters

array $params

Request parameters

Return Value

array

JSON

true|Message editSave(array $params)

No description

Parameters

array $params

Request parameters

Return Value

true|Message

true|Message addNewColumn(array $params)

No description

Parameters

array $params

Request parameters

Return Value

true|Message

true|Message addColumn(array $params)

No description

Parameters

array $params

Request parameters

Return Value

true|Message

void editPage(array $params)

No description

Parameters

array $params

Request parameters

Return Value

void

true|Message updateMultipleColumn(array $params)

No description

Parameters

array $params

Request parameters

Return Value

true|Message

true|Message deleteSave(array $params)

No description

Parameters

array $params

Request parameters

Return Value

true|Message