Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 293 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
291 jpm 1
<?php
2
class NomCourrant {
3
	private $nns = null;
4
	private $selectionne = null;
5
	private $retenu = null;
6
 
7
	public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) {
8
		$this->nns = $num_nom_selectionne;
9
		$this->selectionne = new Nom($noms->getNom($this->nns));
10
		$this->retenu = new Nom($taxons->getTaxon($this->nns));
11
	}
12
 
13
	/**
14
	 * Retour le numéro du nom sélectionné courrant.
15
	 *
16
	 * @return le numéro du nom sélectionné.
17
	 */
18
	public function getNns() {
19
		return $this->nns;
20
	}
21
 
22
	public function getNomSelectionne() {
23
		return $this->selectionne;
24
	}
25
 
26
	public function getNomRetenu() {
27
		return $this->selectionne;
28
	}
29
 
30
}
31
?>