Line 73... |
Line 73... |
73 |
$this->dept = (isset($dept) ? $dept : '*');
|
73 |
$this->dept = (isset($dept) ? $dept : '*');
|
74 |
$this->commune = (isset($commune) ? $commune : '*');
|
74 |
$this->commune = (isset($commune) ? $commune : '*');
|
75 |
$this->num_taxon = (isset($num_taxon) ? $num_taxon : '*');
|
75 |
$this->num_taxon = (isset($num_taxon) ? $num_taxon : '*');
|
76 |
$this->date = (isset($date) ? $date : '*');
|
76 |
$this->date = (isset($date) ? $date : '*');
|
77 |
$this->taxon = (isset($taxon) ? $taxon : '*');
|
77 |
$this->taxon = (isset($taxon) ? $taxon : '*');
|
- |
|
78 |
$this->commentaire = (isset($commentaire) ? $commentaire : null);
|
78 |
$this->station = (isset($station) ? $station : null);
|
79 |
$this->station = (isset($station) ? $station : null);
|
79 |
$this->format = (isset($format) ? $format : null);
|
80 |
$this->format = (isset($format) ? $format : null);
|
80 |
$this->start = (isset($start) ? $start : null);
|
81 |
$this->start = (isset($start) ? $start : null);
|
81 |
$this->limit = (isset($limit) ? $limit : null);
|
82 |
$this->limit = (isset($limit) ? $limit : null);
|
82 |
}
|
83 |
}
|
Line 99... |
Line 100... |
99 |
$widget['donnees']['dept'] = $this->dept;
|
100 |
$widget['donnees']['dept'] = $this->dept;
|
100 |
$widget['donnees']['commune'] = $this->commune;
|
101 |
$widget['donnees']['commune'] = $this->commune;
|
101 |
$widget['donnees']['num_taxon'] = $this->num_taxon;
|
102 |
$widget['donnees']['num_taxon'] = $this->num_taxon;
|
102 |
$widget['donnees']['date'] = $this->date;
|
103 |
$widget['donnees']['date'] = $this->date;
|
103 |
$widget['donnees']['taxon'] = $this->taxon;
|
104 |
$widget['donnees']['taxon'] = $this->taxon;
|
- |
|
105 |
$widget['donnees']['commentaire'] = $this->commentaire;
|
104 |
$widget['donnees']['url_limites_communales'] = $this->obtenirUrlsLimitesCommunales();
|
106 |
$widget['donnees']['url_limites_communales'] = $this->obtenirUrlsLimitesCommunales();
|
Line 105... |
Line 107... |
105 |
|
107 |
|
Line 106... |
Line 108... |
106 |
$widget['squelette'] = 'carte_defaut';
|
108 |
$widget['squelette'] = 'carte_defaut';
|
Line 114... |
Line 116... |
114 |
if ($action) {
|
116 |
if ($action) {
|
115 |
$url .= "/$action";
|
117 |
$url .= "/$action";
|
Line 116... |
Line 118... |
116 |
|
118 |
|
117 |
$parametres_retenus = array();
|
119 |
$parametres_retenus = array();
|
118 |
$parametres_a_tester = array('station', 'utilisateur', 'projet', 'tag', 'dept', 'commune',
|
120 |
$parametres_a_tester = array('station', 'utilisateur', 'projet', 'tag', 'dept', 'commune',
|
119 |
'num_taxon', 'taxon', 'date',
|
121 |
'num_taxon', 'taxon', 'date', 'commentaire',
|
120 |
'start', 'limit');
|
122 |
'start', 'limit');
|
121 |
foreach ($parametres_a_tester as $param) {
|
123 |
foreach ($parametres_a_tester as $param) {
|
122 |
if (isset($this->$param) && $this->$param != '*') {
|
124 |
if (isset($this->$param) && $this->$param != '*') {
|
123 |
$parametres_retenus[$param] = $this->$param;
|
125 |
$parametres_retenus[$param] = $this->$param;
|