63,8 → 63,6 |
private $format = 'csv'; |
|
public $id_utilisateur = null; |
|
public $export_prive = false; |
|
// un cache, initialisé par certaines fonctions de préchargement, à la manière |
// de ce qui est fait par FormateurGroupeColonne |
93,11 → 91,9 |
|
private function getCalcul() { |
$criteres = $this->traiterParametresAutorises($_GET); |
|
$criteres['transmission'] = 1; |
|
// Définit si l'on exporte les obs privées ainsi que les champs étendus privés |
$this->export_prive = $this->doitEtPeutExporterObsPrivees($criteres); |
if($this->export_prive) { |
if($this->doitEtPeutExporterObsPrivees($criteres)) { |
unset($criteres['transmission']); |
$this->id_utilisateur = $criteres['id_utilisateur']; |
} |
159,9 → 155,7 |
if(!in_array($this->format, array('pdf','csv','xls'))) die('erreur: format invalide'); |
|
$criteres['transmission'] = 1; |
// Définit si l'on exporte les obs privées ainsi que les champs étendus privés |
$this->export_prive = $this->doitEtPeutExporterObsPrivees($criteres); |
if($this->export_prive) { |
if($this->doitEtPeutExporterObsPrivees($criteres)) { |
unset($criteres['transmission']); |
$this->id_utilisateur = $criteres['ce_utilisateur']; |
} |