Loading module/Application/src/Application/Filter/NomCompletFormatter.php +5 −1 Changes for module/Application/src/Application/Filter/NomCompletFormatter.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -131,7 +131,11 @@ class NomCompletFormatter extends AbstractFilter if (! $this->patroPlutotQueUsuel) { if ($this->avecNomPatro && $nomPatro !== $nomUsuel) { if ($this->court) { $result .= "-$nomPatro"; $result = ""; if ($this->avecCivilite) $result .= "$civilite"; if ($this->prenomDabord) $result .= " $prenom"; $result .= " $nomPatro-$nomUsuel"; if (!$this->prenomDabord) $result .= " $prenom"; } else { $result .= ", née $nomPatro"; } Loading module/Application/src/Application/Service/These/TheseService.php +3 −2 Changes for module/Application/src/Application/Service/These/TheseService.php: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -484,7 +484,7 @@ class TheseService extends BaseService implements ListenerAggregateInterface if ($these->getEtablissement()) $pdcData->setEtablissement($these->getEtablissement()->getLibelle()); if ($these->getEcoleDoctorale()) $pdcData->setEtablissement($these->getEtablissement()->getLibelle()); if ($these->getDoctorant()) { $pdcData->setDoctorant(strtoupper($these->getDoctorant()->getIndividu()->getNomComplet(false, false, false, true, true, true))); $pdcData->setDoctorant(strtoupper($these->getDoctorant()->getIndividu()->getNomComplet(false, true, false, true, true, false))); } if ($these->getDateSoutenance()) $pdcData->setDate($these->getDateSoutenance()->format("d/m/Y")); Loading Loading @@ -543,7 +543,7 @@ class TheseService extends BaseService implements ListenerAggregateInterface /** associée */ $pdcData->setAssocie(false); /** @var Acteur $directeur */ foreach ($directeurs as $directeur) { foreach (array_merge($directeurs, $codirecteurs) as $directeur) { if (!$directeur->getEtablissement()) { throw new RuntimeException("Anomalie: le directeur de thèse '{$directeur}' n'a pas d'établissement."); } Loading @@ -554,6 +554,7 @@ class TheseService extends BaseService implements ListenerAggregateInterface } } $acteursEnCouverture = array_merge($rapporteurs, $directeurs, $codirecteurs, $president, $membres); usort($acteursEnCouverture, Acteur::getComparisonFunction()); $acteursEnCouverture = array_unique($acteursEnCouverture); Loading Loading
module/Application/src/Application/Filter/NomCompletFormatter.php +5 −1 Changes for module/Application/src/Application/Filter/NomCompletFormatter.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -131,7 +131,11 @@ class NomCompletFormatter extends AbstractFilter if (! $this->patroPlutotQueUsuel) { if ($this->avecNomPatro && $nomPatro !== $nomUsuel) { if ($this->court) { $result .= "-$nomPatro"; $result = ""; if ($this->avecCivilite) $result .= "$civilite"; if ($this->prenomDabord) $result .= " $prenom"; $result .= " $nomPatro-$nomUsuel"; if (!$this->prenomDabord) $result .= " $prenom"; } else { $result .= ", née $nomPatro"; } Loading
module/Application/src/Application/Service/These/TheseService.php +3 −2 Changes for module/Application/src/Application/Service/These/TheseService.php: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -484,7 +484,7 @@ class TheseService extends BaseService implements ListenerAggregateInterface if ($these->getEtablissement()) $pdcData->setEtablissement($these->getEtablissement()->getLibelle()); if ($these->getEcoleDoctorale()) $pdcData->setEtablissement($these->getEtablissement()->getLibelle()); if ($these->getDoctorant()) { $pdcData->setDoctorant(strtoupper($these->getDoctorant()->getIndividu()->getNomComplet(false, false, false, true, true, true))); $pdcData->setDoctorant(strtoupper($these->getDoctorant()->getIndividu()->getNomComplet(false, true, false, true, true, false))); } if ($these->getDateSoutenance()) $pdcData->setDate($these->getDateSoutenance()->format("d/m/Y")); Loading Loading @@ -543,7 +543,7 @@ class TheseService extends BaseService implements ListenerAggregateInterface /** associée */ $pdcData->setAssocie(false); /** @var Acteur $directeur */ foreach ($directeurs as $directeur) { foreach (array_merge($directeurs, $codirecteurs) as $directeur) { if (!$directeur->getEtablissement()) { throw new RuntimeException("Anomalie: le directeur de thèse '{$directeur}' n'a pas d'établissement."); } Loading @@ -554,6 +554,7 @@ class TheseService extends BaseService implements ListenerAggregateInterface } } $acteursEnCouverture = array_merge($rapporteurs, $directeurs, $codirecteurs, $president, $membres); usort($acteursEnCouverture, Acteur::getComparisonFunction()); $acteursEnCouverture = array_unique($acteursEnCouverture); Loading