Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 448 → Rev 447

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