| Line 144... |
Line 144... |
| 144 |
$params = array_intersect_key($params, array_flip($parametres_autorises));
|
144 |
$params = array_intersect_key($params, array_flip($parametres_autorises));
|
| 145 |
}
|
145 |
}
|
| Line 146... |
Line 146... |
| 146 |
|
146 |
|
| 147 |
$p['tri'] = DelTK::unsetIfInvalid($params, 'tri', array('date_observation'));
|
147 |
$p['tri'] = DelTK::unsetIfInvalid($params, 'tri', array('date_observation'));
|
| 148 |
$p['ordre'] = DelTK::unsetIfInvalid($params, 'ordre', array('asc','desc'));
|
148 |
$p['ordre'] = DelTK::unsetIfInvalid($params, 'ordre', array('asc','desc'));
|
| Line 149... |
Line 149... |
| 149 |
$p['masque.referentiel'] = DelTK::unsetIfInvalid($params, 'masque.referentiel', array('bdtfx','bdtxa','isfan','bdtao'));
|
149 |
$p['masque.referentiel'] = DelTK::unsetIfInvalid($params, 'masque.referentiel', array('bdtfx','bdtxa','isfan','apd'));
|
| 150 |
|
150 |
|
| 151 |
// TODO: use filter_input(INPUT_GET);
|
151 |
// TODO: use filter_input(INPUT_GET);
|
| 152 |
// renvoie FALSE ou NULL si absent ou invalide
|
152 |
// renvoie FALSE ou NULL si absent ou invalide
|