Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 293 | Rev 379 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
291 jpm 1
<?php
293 delphine 2
class NomCourant {
291 jpm 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
	/**
293 delphine 14
	 * Retour le numéro du nom sélectionné courant.
291 jpm 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() {
361 delphine 27
		return $this->retenu;
291 jpm 28
	}
29
 
30
}
31
?>