Skip to content
Snippets Groups Projects
Commit 0f54de47 authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

afficher espece avec race

parent 51878bb3
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,9 @@ class Race extends Objet
}
public function str() {
$tostr = $this->nom.' '.$this->espece;
$esp = new Espece();
$esp->select($this->espece);
$tostr = $esp->str().' : '.$this->nom;
return $tostr;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment