23 lines
605 B
PHP
23 lines
605 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Autrestablesreference.php';
|
|
|
|
class ControleurAjaxaccesfichiersautrestables extends Controleur {
|
|
private $autrestables;
|
|
|
|
public function __construct() {
|
|
$this->autrestables = new Autrestablesreference();
|
|
}
|
|
|
|
public function index() {
|
|
$id = $this->requete->getParametreFormulaire("id");
|
|
|
|
$fichiers = $this->autrestables->getfichiers($id);
|
|
|
|
//$_SESSION['fichiers'] = $fichiers;
|
|
$this->genererVueAjax(array('fichiers' => $fichiers));
|
|
}
|
|
|
|
}
|
|
|
|
|