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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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(); },
+25 −0
Original line number Diff line number Diff line
@@ -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