Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 379 | Rev 448 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 379 Rev 380
Line 6... Line 6...
6
 
6
 
7
	public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) {
7
	public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) {
8
		$this->nns = $num_nom_selectionne;
8
		$this->nns = $num_nom_selectionne;
9
		$this->selectionne = new Nom($noms->getNom($this->nns));
9
		$this->selectionne = new Nom($noms->getNom($this->nns));
-
 
10
		$this->retenu = new Nom($taxons->getTaxon($this->nns));
10
		$this->retenu = new Nom($taxons->getTaxon($this->nns));
11
		$this->retenu->setTaxonsSuperieurs($taxons->getTaxonsSup($this->nns), $this->nns);
11
		$taxons_sup = $taxons->getTaxonsSup($this->nns);
12
		$taxons_sup = $taxons->getTaxonsSup($this->nns);
12
		$this->taxons_sup = $taxons_sup[$this->nns];
13
		$this->taxons_sup = $taxons_sup[$this->nns];
Line 13... Line 14...
13
	}
14
	}