mediatekformation

AdminFormationController extends AbstractController
in package

Controleur des formations

Tags
author

emds

Table of Contents

Constants

PAGE_FORMATION  = "pages/admin/formation.html.twig"
PAGE_FORMATIONS  = "pages/admin/formations.html.twig"

Properties

$categorieRepository  : CategorieRepository
$formationRepository  : FormationRepository

Methods

__construct()  : mixed
createformation()  : Response
delete()  : Response
editformation()  : Response
findAllContain()  : Response
index()  : Response
showOne()  : Response
sort()  : Response

Constants

Properties

Methods

createformation()

public createformation(Request $request) : Response
Parameters
$request : Request
Attributes
#[Route]
'admin/formations/add'
$name: 'admin.formations.add'
Return values
Response

delete()

public delete(mixed $id) : Response
Parameters
$id : mixed
Attributes
#[Route]
'admin/formations/delete/{id}'
$name: 'admin.formations.delete'
Return values
Response

editformation()

public editformation(Formation $formation, Request $request) : Response
Parameters
$formation : Formation
$request : Request
Attributes
#[Route]
'admin/formations/edit{id}'
$name: 'admin.formations.edit'
Return values
Response

findAllContain()

public findAllContain(mixed $champ, Request $request[, mixed $table = "" ]) : Response
Parameters
$champ : mixed
$request : Request
$table : mixed = ""
Attributes
#[Route]
'/admin/formations/recherche/{champ}/{table}'
$name: 'admin.formations.findallcontain'
Return values
Response

index()

public index() : Response
Attributes
#[Route]
'/admin/formations'
$name: 'admin.formations'
Return values
Response

showOne()

public showOne(mixed $id) : Response
Parameters
$id : mixed
Attributes
#[Route]
'/admin/formations/formation/{id}'
$name: 'admin.formations.showone'
Return values
Response

sort()

public sort(mixed $champ, mixed $ordre[, mixed $table = "" ]) : Response
Parameters
$champ : mixed
$ordre : mixed
$table : mixed = ""
Attributes
#[Route]
'/admin/formations/tri/{champ}/{ordre}/{table}'
$name: 'admin.formations.sort'
Return values
Response

        
On this page

Search results