15,12 → 15,15 |
class Repartition extends aControleur { |
private $serviceChorodep = null; |
|
public function initialiser($num_nom, $type) { |
$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type); |
public function __construct($num_nom = null, $type = null, $taille = 630) { |
$this->initialiser($num_nom, $type, $taille); |
} |
|
public function initialiser($num_nom, $type, $taille = 630) { |
$this->serviceChorodep = new Cartes('chorodep', $num_nom, $type, $taille); |
$this->serviceMetaDonneesChorodep = new MetaDonnees('chorodep'); |
} |
|
|
public function obtenirDonnees($num_nom, $type = 'nn') { |
$this->initialiser($num_nom, $type); |
$donnees['svg'] = $this->getUrlDataSvg(); |