Initial commit for newdesigngestionnaire project
This commit is contained in:
30
Controleur/ControleurModifiercollegetype.php
Executable file
30
Controleur/ControleurModifiercollegetype.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Collegetype.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurModifiercollegetype extends Controleur {
|
||||
private $menuvue;
|
||||
private $collegetype;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Modifiercollegetype');
|
||||
|
||||
$this->collegetype = new Collegetype();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idTable = $this->requete->getParametreFormulaire("id");
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Modifiercollegetype');
|
||||
|
||||
$table = $this->collegetype->getuncollegetype($idTable);
|
||||
$chemin = $this->menuvue->getChemin('Modifiercollegetype');
|
||||
|
||||
$this->genererVue(array('table' => $table, 'chemin' => $chemin));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user