Loading module/Application/src/Application/Entity/Db/Individu.php +0 −14 Changes for module/Application/src/Application/Entity/Db/Individu.php: 0 added lines, 14 removed lines. Original line number Diff line number Diff line Loading @@ -395,18 +395,4 @@ class Individu implements HistoriqueAwareInterface, SourceAwareInterface { return $this->id; } /** * @param bool $civilite * @return string */ public function getNomCivil($civilite = true) { $text = ""; if ($civilite) $text .= $this->getCivilite() . " "; $text .= ucwords(mb_strtolower($this->getPrenom()), " -") . " "; $text .= strtoupper($this->getNomUsuel()); return $text; } } No newline at end of file module/Application/src/Application/Filter/ActeursFormatter.php +1 −1 Changes for module/Application/src/Application/Filter/ActeursFormatter.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ class ActeursFormatter extends AbstractFilter { /** @var Acteur $acteur */ foreach ($acteurs as $acteur) { $result = []; $result["nom"] = $acteur->getIndividu()->getNomCivil(); $result["nom"] = $acteur->getIndividu()->getNomComplet(true); if ($this->displayRole === true) $result["role"] = $acteur->getRole()->getRoleId(); if ($this->displayRoleComplement === true) $result["complement"] = $acteur->getLibelleRoleComplement(); if ($this->displayQualite === true) $result["qualite"] = $acteur->getQualite(); Loading Loading
module/Application/src/Application/Entity/Db/Individu.php +0 −14 Changes for module/Application/src/Application/Entity/Db/Individu.php: 0 added lines, 14 removed lines. Original line number Diff line number Diff line Loading @@ -395,18 +395,4 @@ class Individu implements HistoriqueAwareInterface, SourceAwareInterface { return $this->id; } /** * @param bool $civilite * @return string */ public function getNomCivil($civilite = true) { $text = ""; if ($civilite) $text .= $this->getCivilite() . " "; $text .= ucwords(mb_strtolower($this->getPrenom()), " -") . " "; $text .= strtoupper($this->getNomUsuel()); return $text; } } No newline at end of file
module/Application/src/Application/Filter/ActeursFormatter.php +1 −1 Changes for module/Application/src/Application/Filter/ActeursFormatter.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ class ActeursFormatter extends AbstractFilter { /** @var Acteur $acteur */ foreach ($acteurs as $acteur) { $result = []; $result["nom"] = $acteur->getIndividu()->getNomCivil(); $result["nom"] = $acteur->getIndividu()->getNomComplet(true); if ($this->displayRole === true) $result["role"] = $acteur->getRole()->getRoleId(); if ($this->displayRoleComplement === true) $result["complement"] = $acteur->getLibelleRoleComplement(); if ($this->displayQualite === true) $result["qualite"] = $acteur->getQualite(); Loading