Skip to content
Snippets Groups Projects
Commit f139f200 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout de l'attribut ine dans Individu et ajout de la colonne dans l'export

parent c2126f84
Branches
Tags
No related merge requests found
......@@ -32,6 +32,7 @@ class ExportController extends AbstractController
'Adresse électronique' => function (These $these) { return $these->getDoctorant()->getIndividu()->getEmail(); },
'Adresse électronique personnelle' => function (These $these) { return $these->getDoctorant()->getIndividu()->getMailContact(); },
'Numéro étudiant' => function (These $these) { return $this->sourceCodeStringHelper->removePrefixFrom($these->getDoctorant()->getSourceCode()); },
'I.N.E.' => function (These $these) { return $these->getDoctorant()->getIndividu()->getIne(); },
//These
'Identifiant de la thèse' => function (These $these) { return $these->getSourceCode(); },
'Titre' => function (These $these) { return $these->getTitre(); },
......
......@@ -98,6 +98,11 @@ class Individu implements HistoriqueAwareInterface, SourceAwareInterface
*/
private $mailsConfirmations;
/**
* @var string
*/
private $ine;
public function __construct() {
$this->mailsConfirmations = new ArrayCollection();
......@@ -470,4 +475,24 @@ class Individu implements HistoriqueAwareInterface, SourceAwareInterface
}
return null;
}
/**
* @return string
*/
public function getIne()
{
return $this->ine;
}
/**
* @param string $ine
* @return Individu
*/
public function setIne($ine)
{
$this->ine = $ine;
return $this;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment