Commit 3fd27e59 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Filtrage du préfixe du numero etudiant

parent b8a60474
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -87,8 +87,12 @@ class Doctorant implements DoctorantInterface, HistoriqueAwareInterface, Resourc
     *
     * @return string
     */
    public function getSourceCode()
    public function getSourceCode($no_prefix = false)
    {
        if ($no_prefix) {
            $res = explode("::", $this->sourceCode);
            return end($res);
        }
        return $this->sourceCode;
    }