diff --git a/src/Octopus/Entity/Db/ImmobilierBatiment.php b/src/Octopus/Entity/Db/ImmobilierBatiment.php index 48edde74c633459a15dee971d6ae41fa68aba9cf..fc4c1b2dfb112bf5d42473095f19f293be42f109 100644 --- a/src/Octopus/Entity/Db/ImmobilierBatiment.php +++ b/src/Octopus/Entity/Db/ImmobilierBatiment.php @@ -101,7 +101,6 @@ class ImmobilierBatiment { public function __toString() { $texte = $this->getLibelle(); - $texte .= " "; //$texte .= "<span class='badge'> ". $this->getSite()->getLibelle() ." </span>"; return $texte; } diff --git a/src/Octopus/Entity/Db/ImmobilierLocal.php b/src/Octopus/Entity/Db/ImmobilierLocal.php index e3898147ca33e905d4eb0336432c040d23089f5a..9b2af26b1c64383430c52db2ba4c6f7929d299fa 100644 --- a/src/Octopus/Entity/Db/ImmobilierLocal.php +++ b/src/Octopus/Entity/Db/ImmobilierLocal.php @@ -209,6 +209,10 @@ class ImmobilierLocal { } - + public function __toString() + { + $texte = $this->getLibelle(); + return $texte; + } } \ No newline at end of file diff --git a/src/Octopus/Entity/Db/ImmobilierNiveau.php b/src/Octopus/Entity/Db/ImmobilierNiveau.php index 0b37f118c395bf58c61077beb1a26562834d9b70..9fa3fdecfe6f0436e9fffa6369b086250574f766 100644 --- a/src/Octopus/Entity/Db/ImmobilierNiveau.php +++ b/src/Octopus/Entity/Db/ImmobilierNiveau.php @@ -78,6 +78,11 @@ class ImmobilierNiveau { return $this->batiment; } + public function __toString() + { + $texte = $this->getLibelle(); + return $texte; + } } \ No newline at end of file diff --git a/src/Octopus/Entity/Db/ImmobilierSite.php b/src/Octopus/Entity/Db/ImmobilierSite.php index 6e4de8d39e5c1e4816fdeb0d7146d104e97aa435..88c4ea2f4c0d2142b9526ecde1922c18a486dada 100644 --- a/src/Octopus/Entity/Db/ImmobilierSite.php +++ b/src/Octopus/Entity/Db/ImmobilierSite.php @@ -78,4 +78,9 @@ class ImmobilierSite { return $this->clefGestimmo; } + public function __toString() + { + $texte = $this->getLibelle(); + return $texte; + } } \ No newline at end of file diff --git a/src/Octopus/Entity/Db/Individu.php b/src/Octopus/Entity/Db/Individu.php index ff9fd84228c4a7966ae7c946cacdfb232240d765..0ffd9010aa081d816c4fb7fba51cdee5fc2894ef 100644 --- a/src/Octopus/Entity/Db/Individu.php +++ b/src/Octopus/Entity/Db/Individu.php @@ -197,4 +197,10 @@ class Individu { return $this->dateModification; } + public function __toString() + { + $texte = $this->getPrenom(). " " . $this->getNomUsage(); + return $texte; + } + } \ No newline at end of file diff --git a/src/Octopus/Entity/Db/Pays.php b/src/Octopus/Entity/Db/Pays.php index c58e4865cc912b161b7401e788ab070961eb823c..a77cc5f45a1a099d6e46504ab0059ff7346a4bbb 100644 --- a/src/Octopus/Entity/Db/Pays.php +++ b/src/Octopus/Entity/Db/Pays.php @@ -109,4 +109,9 @@ class Pays { return $this->dateFermeture; } + public function __toString() + { + $texte = $this->getLibelleLong(); + return $texte; + } } \ No newline at end of file diff --git a/src/Octopus/Entity/Db/Structure.php b/src/Octopus/Entity/Db/Structure.php index d8ccbc2653789559bacc2f167d9630f8dcc99d42..54e75f7e0a08c12515ff609450ca119afd023181 100644 --- a/src/Octopus/Entity/Db/Structure.php +++ b/src/Octopus/Entity/Db/Structure.php @@ -149,4 +149,10 @@ class Structure { return $this->typeSupann; } + public function __toString() + { + $texte = $this->getLibelleLong(); + return $texte; + } + } \ No newline at end of file diff --git a/src/Octopus/Entity/Db/StructureType.php b/src/Octopus/Entity/Db/StructureType.php index 6cfd4f895f5151aa24072fa6e4eaf30488e7eed8..af62a87f3a5e38461ab4e75423941a7a3b78166d 100644 --- a/src/Octopus/Entity/Db/StructureType.php +++ b/src/Octopus/Entity/Db/StructureType.php @@ -44,5 +44,10 @@ class StructureType { return $this->description; } + public function __toString() + { + $texte = $this->getLibelle(); + return $texte; + } } \ No newline at end of file