Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 447 → Rev 448

/trunk/bibliotheque/NomCourant.php
1,6 → 1,7
<?php
class NomCourant {
private $nns = null;
private $nnr = null;
private $selectionne = null;
private $retenu = null;
 
8,9 → 9,10
$this->nns = $num_nom_selectionne;
$this->selectionne = new Nom($noms->getNom($this->nns));
$this->retenu = new Nom($taxons->getTaxon($this->nns));
$this->retenu->setTaxonsSuperieurs($taxons->getTaxonsSup($this->nns), $this->nns);
$taxons_sup = $taxons->getTaxonsSup($this->nns);
$this->taxons_sup = $taxons_sup[$this->nns];
$this->nnr = $this->retenu->get('id');
$this->retenu->setTaxonsSuperieurs($taxons->getTaxonsSup($this->nnr), $this->nnr);
$taxons_sup = $taxons->getTaxonsSup($this->nnr);
$this->taxons_sup = $taxons_sup[$this->nnr];
}
 
/**
21,6 → 23,11
public function getNns() {
return $this->nns;
}
public function getNnr() {
return $this->nnr;
}
 
public function getNomSelectionne() {
return $this->selectionne;