Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 290 → Rev 291

/trunk/bibliotheque/NomCourrant.php
New file
0,0 → 1,31
<?php
class NomCourrant {
private $nns = null;
private $selectionne = null;
private $retenu = null;
 
public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) {
$this->nns = $num_nom_selectionne;
$this->selectionne = new Nom($noms->getNom($this->nns));
$this->retenu = new Nom($taxons->getTaxon($this->nns));
}
 
/**
* Retour le numéro du nom sélectionné courrant.
*
* @return le numéro du nom sélectionné.
*/
public function getNns() {
return $this->nns;
}
 
public function getNomSelectionne() {
return $this->selectionne;
}
 
public function getNomRetenu() {
return $this->selectionne;
}
 
}
?>