Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 253 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 253 Rev 257
Line 11... Line 11...
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
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
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
13
 * @version		$Id$
13
 * @version		$Id$
14
 */
14
 */
15
class Repartition extends aControleur {
15
class Repartition extends aControleur {
16
	private $serviceRepartition = null;
16
	private $serviceChorodep = null;
Line 17... Line 17...
17
	
17
	
18
	public function __construct($num_nom, $type = 'nn') {
18
	public function __construct($num_nom, $type = 'nn') {
-
 
19
		$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type);
19
		$this->serviceRepartition = new Cartes($num_nom, $type);
20
		$this->serviceMetaDonneesChorodep = new MetaDonnees('chorodep');
Line 20... Line 21...
20
		}
21
	}
21
	
22
	
22
	public function getUrlImage() {
23
	public function getUrlImage() {
Line 23... Line 24...
23
		return $this->serviceRepartition->getUrlImage();
24
		return $this->serviceChorodep->getUrlImage();
24
	}
25
	}
-
 
26
	
-
 
27
	public function getLegende () {
-
 
28
		return $this->serviceChorodep->getLegende();
-
 
29
	}
25
	
30
	
26
	public function getLegende () {
31
	public function getMetaDonnees () {
27
		return $this->serviceRepartition->getLegende();
32
		return $this->serviceMetaDonneesChorodep->getMetaDonnees();
28
	}
33
	}