Documentation

ControllerList

Class ControllerList Controller for Liste Model

Tags
author

Guillaume ARNOUX

Table of Contents

$container  : Container
$liste  : Liste|null
$renderer  : ListView
$request  : Request
$response  : Response
$user  : User|null
__construct()  : mixed
ControllerList constructor
addItem()  : Response
Control adding an item to a list
addMessage()  : Response
Control adding message to a list
claim()  : Response
Control claim of a list
create()  : Response
Control creation of a list
delete()  : Response
Control deletion of a list
edit()  : Response
Control edition of a list
show()  : Response
Control display of a list

Properties

Methods

__construct()

ControllerList constructor

public __construct(Container $c, Request $request, Response $response, array<string|int, mixed> $args) : mixed
Parameters
$c : Container
$request : Request
$response : Response
$args : array<string|int, mixed>
Return values
mixed

addItem()

Control adding an item to a list

public addItem() : Response
Tags
throws
MethodNotAllowedException
throws
NotFoundException|ForbiddenException
Return values
Response

addMessage()

Control adding message to a list

public addMessage() : Response
Tags
throws
MethodNotAllowedException
throws
NotFoundException|ForbiddenException
Return values
Response

claim()

Control claim of a list

public claim() : Response
Tags
throws
ForbiddenException
throws
MethodNotAllowedException
throws
NotFoundException
Return values
Response

create()

Control creation of a list

public create() : Response
Tags
throws
MethodNotAllowedException
throws
Exception
Return values
Response

delete()

Control deletion of a list

public delete() : Response
Tags
throws
MethodNotAllowedException
throws
Exception
Return values
Response

edit()

Control edition of a list

public edit() : Response
Tags
throws
MethodNotAllowedException
throws
NotFoundException|ForbiddenException
Return values
Response

show()

Control display of a list

public show() : Response
Tags
throws
ForbiddenException
throws
MethodNotAllowedException
throws
NotFoundException
Return values
Response

Search results