| 272 | delphine | 1 | <?php
 | 
        
           |  |  | 2 | // declare(encoding='UTF-8');
 | 
        
           |  |  | 3 | /**
 | 
        
           |  |  | 4 |  * Classe mère du module Liste.
 | 
        
           |  |  | 5 |  *
 | 
        
           |  |  | 6 |  * @category	PHP 5.2
 | 
        
           |  |  | 7 |  * @package		eflore-consultation
 | 
        
           |  |  | 8 |  * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
 | 
        
           |  |  | 9 |  * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
 | 
        
           |  |  | 10 |  * @copyright	2011 Tela-Botanica
 | 
        
           |  |  | 11 |  * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
 | 
        
           |  |  | 12 |  * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
 | 
        
           |  |  | 13 |  * @version		$Id$
 | 
        
           |  |  | 14 |  */
 | 
        
           |  |  | 15 | class Statut extends aControleur {
 | 
        
           |  |  | 16 | 	public function obtenirDonnees($num_nom) {
 | 
        
           | 417 | aurelien | 17 | 		$donnees = array();
 | 
        
           |  |  | 18 | 		$donnees['wikini'] = $this->getWikini();
 | 
        
           | 272 | delphine | 19 | 		return $donnees;
 | 
        
           |  |  | 20 | 	}
 | 
        
           | 417 | aurelien | 21 |   | 
        
           |  |  | 22 | 	private function getWikini() {
 | 
        
           |  |  | 23 | 		$wikini = array();
 | 
        
           |  |  | 24 | 		$wikini['titre'] = 'Wikini';
 | 
        
           |  |  | 25 | 		$referentiel = $this->conteneur->getParametre('referentiel');
 | 
        
           |  |  | 26 | 		$num_tax = $this->nomCourant->getNomSelectionne()->get('num_taxonomique');
 | 
        
           |  |  | 27 | 		$page_wiki = $this->wikini->getPageWikiPourRefEtNumTax($referentiel, $num_tax);
 | 
        
           | 418 | aurelien | 28 | 		$wikini['statuts_de_protection'] = $this->wikini->getTexteFormate($page_wiki, 'statuts de protection');
 | 
        
           | 417 | aurelien | 29 | 		return $wikini;
 | 
        
           |  |  | 30 | 	}
 | 
        
           | 272 | delphine | 31 | }
 | 
        
           |  |  | 32 | ?>
 |