Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 448 Rev 511
Line 4... Line 4...
4
	private $nnr = null;
4
	private $nnr = null;
5
	private $selectionne = null;
5
	private $selectionne = null;
6
	private $retenu = null;
6
	private $retenu = null;
Line 7... Line 7...
7
 
7
 
-
 
8
	public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) {
8
	public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) {
9
		
9
		$this->nns = $num_nom_selectionne;
10
		$this->nns = $num_nom_selectionne;
10
		$this->selectionne = new Nom($noms->getNom($this->nns));
11
		$this->selectionne = new Nom($noms->getNom($this->nns));
11
		$this->retenu = new Nom($taxons->getTaxon($this->nns));
12
		$this->retenu = new Nom($taxons->getTaxon($this->nns));
12
		$this->nnr = $this->retenu->get('id');
13
		$this->nnr = $this->retenu->get('id');
Line 34... Line 35...
34
	}
35
	}
Line 35... Line 36...
35
 
36
 
36
	public function getNomRetenu() {
37
	public function getNomRetenu() {
37
		return $this->retenu;
38
		return $this->retenu;
-
 
39
	}
-
 
40
	
-
 
41
	public function getNt() {
-
 
42
		return $this->retenu->get('num_taxonomique');
Line 38... Line 43...
38
	}
43
	}
39
 
44
 
40
}
45
}