Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 291 | Rev 361 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
class NomCourant {
        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é courant.
         *
         * @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;
        }

}
?>