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

Ajout des toString

parent a84e22b6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -101,7 +101,6 @@ class ImmobilierBatiment {
    public function __toString()
    {
        $texte  = $this->getLibelle();
        $texte .= " ";
        //$texte .= "<span class='badge'> ". $this->getSite()->getLibelle() ." </span>";
       return $texte;
    }
+5 −1
Original line number Diff line number Diff line
@@ -209,6 +209,10 @@ class ImmobilierLocal {
    }



    public function __toString()
    {
        $texte  = $this->getLibelle();
        return $texte;
    }

}
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -78,6 +78,11 @@ class ImmobilierNiveau {
        return $this->batiment;
    }

    public function __toString()
    {
        $texte  = $this->getLibelle();
        return $texte;
    }


}
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -78,4 +78,9 @@ class ImmobilierSite {
        return $this->clefGestimmo;
    }

    public function __toString()
    {
        $texte  = $this->getLibelle();
        return $texte;
    }
}
 No newline at end of file
+6 −0
Original line number Diff line number Diff line
@@ -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
Loading