30 lines
813 B
PHP
Executable File
30 lines
813 B
PHP
Executable File
<?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));
|
|
}
|
|
|
|
|
|
} |