Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 269 | Go to most recent revision | Show entire file | Regard 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 17... Line 17...
17
	
17
	
18
	public function initialiser($num_nom, $type) {
18
	public function __construct($num_nom = null, $type = null, $taille = 630) {
19
		$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type);
-
 
20
		$this->serviceMetaDonneesChorodep = new MetaDonnees('chorodep');
19
		$this->initialiser($num_nom, $type, $taille);
Line -... Line 20...
-
 
20
	}
-
 
21
	
-
 
22
	public function initialiser($num_nom, $type, $taille = 630) {
-
 
23
		$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type, $taille);
Line 21... Line 24...
21
	}
24
		$this->serviceMetaDonneesChorodep = new MetaDonnees('chorodep');
22
	
25
	}
23
 
26
	
24
	public function obtenirDonnees($num_nom, $type = 'nn') {
27
	public function obtenirDonnees($num_nom, $type = 'nn') {