Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 813 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 813 Rev 826
Line 1... Line 1...
1
<?php
1
<?php
2
/**
2
/**
3
 * Cette classe est le contrôleur pour l'affichage de listes dans des fancy box.(fenêtres)
3
 * Cette classe est le contrôleur pour l'affichage de listes dans des fenêtre fancy box.(fenêtres phytosociologie)
-
 
4
 * 
-
 
5
 * @category	PHP 5.2
-
 
6
 * @package		eflore-consultation
-
 
7
 * @author		Mathilde Salthun-lassalle <mathilde@tela-botanica.org>
-
 
8
 * @copyright	2012 Tela-Botanica
-
 
9
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
-
 
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
-
 
11
 * @version		$Id$
4
 */
12
 */
Line 5... Line 13...
5
 
13
 
Line 119... Line 127...
119
	public function getListeCatminatRef() {
127
	public function getListeCatminatRef() {
120
		$ref = array();
128
		$ref = array();
121
		$this->syntaxons->setProjet('baseveg');
129
		$this->syntaxons->setProjet('baseveg');
122
		$this->syntaxons->setCatminat($this->catminat);
130
		$this->syntaxons->setCatminat($this->catminat);
123
		$syntaxons = $this->syntaxons->getSyntaxonsCatminat();
131
		$syntaxons = $this->syntaxons->getSyntaxonsCatminat();
124
		
-
 
125
		if (is_array($syntaxons)) {
132
		if (is_array($syntaxons)) {
126
			$ref['liste'] = $syntaxons['resultat'][0]['ref_der_biblio'];
133
			$ref['liste']['der'] = $syntaxons['resultat'][0]['ref_der_biblio'];
-
 
134
			if ($syntaxons['resultat'][0]['ref_anteriorite_deux'] != '') {
-
 
135
				$ref['liste']['anteriorites'][0] =  $syntaxons['resultat'][0]['ref_anteriorite_deux'];
-
 
136
			}
-
 
137
			if ($syntaxons['resultat'][0]['ref_anteriorite_trois'] != '') {
-
 
138
				$ref['liste']['anteriorites'][1]= $syntaxons['resultat'][0]['ref_anteriorite_trois'];
-
 
139
			}
-
 
140
			if ($syntaxons['resultat'][0]['ref_anteriorite_quatre'] != '') {
-
 
141
				$ref['liste']['anteriorites'][2] =  $syntaxons['resultat'][0]['ref_anteriorite_quatre'];
-
 
142
			}		
127
		}
143
		}
128
		return $ref;
144
		return $ref;
129
	}
145
	}
Line 130... Line 146...
130
	
146