Skip to content
Snippets Groups Projects
Commit cf1a4170 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout des toString

parent a84e22b6
Branches
Tags 0.2
No related merge requests found
......@@ -101,7 +101,6 @@ class ImmobilierBatiment {
public function __toString()
{
$texte = $this->getLibelle();
$texte .= " ";
//$texte .= "<span class='badge'> ". $this->getSite()->getLibelle() ." </span>";
return $texte;
}
......
......@@ -209,6 +209,10 @@ class ImmobilierLocal {
}
public function __toString()
{
$texte = $this->getLibelle();
return $texte;
}
}
\ No newline at end of file
......@@ -78,6 +78,11 @@ class ImmobilierNiveau {
return $this->batiment;
}
public function __toString()
{
$texte = $this->getLibelle();
return $texte;
}
}
\ No newline at end of file
......@@ -78,4 +78,9 @@ class ImmobilierSite {
return $this->clefGestimmo;
}
public function __toString()
{
$texte = $this->getLibelle();
return $texte;
}
}
\ No newline at end of file
......@@ -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
......@@ -109,4 +109,9 @@ class Pays {
return $this->dateFermeture;
}
public function __toString()
{
$texte = $this->getLibelleLong();
return $texte;
}
}
\ No newline at end of file
......@@ -149,4 +149,10 @@ class Structure {
return $this->typeSupann;
}
public function __toString()
{
$texte = $this->getLibelleLong();
return $texte;
}
}
\ No newline at end of file
......@@ -44,5 +44,10 @@ class StructureType {
return $this->description;
}
public function __toString()
{
$texte = $this->getLibelle();
return $texte;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment