Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 269 Rev 276
Line 13... Line 13...
13
 * @version		$Id$
13
 * @version		$Id$
14
 */
14
 */
15
class Repartition extends aControleur {
15
class Repartition extends aControleur {
16
	private $serviceChorodep = null;
16
	private $serviceChorodep = null;
Line -... Line 17...
-
 
17
	
-
 
18
	public function __construct($num_nom = null, $type = null, $taille = 630) {
-
 
19
		$this->initialiser($num_nom, $type, $taille);
-
 
20
	}
17
	
21
	
18
	public function initialiser($num_nom, $type) {
22
	public function initialiser($num_nom, $type, $taille = 630) {
19
		$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type);
23
		$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type, $taille);
20
		$this->serviceMetaDonneesChorodep = new MetaDonnees('chorodep');
24
		$this->serviceMetaDonneesChorodep = new MetaDonnees('chorodep');
Line 21... Line -...
21
	}
-
 
22
	
25
	}
23
 
26
	
24
	public function obtenirDonnees($num_nom, $type = 'nn') {
27
	public function obtenirDonnees($num_nom, $type = 'nn') {
25
		$this->initialiser($num_nom, $type);
28
		$this->initialiser($num_nom, $type);
26
		$donnees['svg'] = $this->getUrlDataSvg();
29
		$donnees['svg'] = $this->getUrlDataSvg();