1 |
<?php
|
1 |
<?php
|
2 |
// declare(encoding='UTF-8');
|
2 |
// declare(encoding='UTF-8');
|
3 |
/**
|
3 |
/**
|
4 |
* Service fournissant une carte dynamique (communes + points) des obsertions publiques du CEL.
|
4 |
* Service fournissant une carte dynamique (communes + points) des obsertions publiques du CEL.
|
5 |
*
|
5 |
*
|
6 |
* Cas d'utilisation :
|
6 |
* Cas d'utilisation :
|
7 |
* /CelWidgetMap/Carte/Utilisateur : carte des observations publiques d'un utilisateur.
|
7 |
* /CelWidgetMap/Carte/Utilisateur : carte des observations publiques d'un utilisateur.
|
8 |
* /CelWidgetMap/Carte/Utilisateur/Projet : carte des observations publiques d'un utilisateur pour un projet.
|
8 |
* /CelWidgetMap/Carte/Utilisateur/Projet : carte des observations publiques d'un utilisateur pour un projet.
|
9 |
* /CelWidgetMap/Carte/Utilisateur/Projet/dept : carte des observations publiques d'un utilisateur pour un projet sur un département.
|
9 |
* /CelWidgetMap/Carte/Utilisateur/Projet/dept : carte des observations publiques d'un utilisateur pour un projet sur un département.
|
10 |
* /CelWidgetMap/Carte/Utilisateur/Projet/dept/nt : carte des observations publiques d'un utilisateur pour un projet sur un département pour un taxon.
|
10 |
* /CelWidgetMap/Carte/Utilisateur/Projet/dept/nt : carte des observations publiques d'un utilisateur pour un projet sur un département pour un taxon.
|
11 |
*
|
11 |
*
|
12 |
* Carte = Type de carte. Valeurs possible : defaut,
|
12 |
* Carte = Type de carte. Valeurs possible : defaut,
|
13 |
* Utilisateur = identifiant (= courriel) de l'utilisateur ou * pour tous les utilisateurs.
|
13 |
* Utilisateur = identifiant (= courriel) de l'utilisateur ou * pour tous les utilisateurs.
|
14 |
* Projet = mot-clé du projet
|
14 |
* Projet = mot-clé du projet
|
15 |
* Plusieurs mots-clés peuvent être spécifiés:
|
15 |
* Plusieurs mots-clés peuvent être spécifiés:
|
16 |
* machin ET bidule ET chose => observations ayant tous les mots-clés (intersection)
|
16 |
* machin ET bidule ET chose => observations ayant tous les mots-clés (intersection)
|
17 |
* machin OU bildule OU chose => observations ayant au moins un des mots-clés (union)
|
17 |
* machin OU bildule OU chose => observations ayant au moins un des mots-clés (union)
|
18 |
* ATTENTION
|
18 |
* ATTENTION
|
19 |
* machin ET bidule OU chose donne un résultat indéterminé pour l'instant
|
19 |
* machin ET bidule OU chose donne un résultat indéterminé pour l'instant
|
20 |
*
|
20 |
*
|
21 |
* @internal Mininum PHP version : 5.2
|
21 |
* @internal Mininum PHP version : 5.2
|
22 |
* @category CEL
|
22 |
* @category CEL
|
23 |
* @package Services
|
23 |
* @package Services
|
24 |
* @subpackage Widget
|
24 |
* @subpackage Widget
|
25 |
* @version 0.1
|
25 |
* @version 0.1
|
26 |
* @author Mathias CHOUET <mathias@tela-botanica.org>
|
26 |
* @author Mathias CHOUET <mathias@tela-botanica.org>
|
27 |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
27 |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
28 |
* @author Aurelien PERONNET <aurelien@tela-botanica.org>
|
28 |
* @author Aurelien PERONNET <aurelien@tela-botanica.org>
|
29 |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
|
29 |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
|
30 |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
|
30 |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
|
31 |
* @copyright 1999-2014 Tela Botanica <accueil@tela-botanica.org>
|
31 |
* @copyright 1999-2014 Tela Botanica <accueil@tela-botanica.org>
|
32 |
*/
|
32 |
*/
|
33 |
// TODO : supprimer le TRIM quand les obs seront reliées correctements aux localisations (sur le code INSEE par exemple)
|
33 |
// TODO : supprimer le TRIM quand les obs seront reliées correctements aux localisations (sur le code INSEE par exemple)
|
34 |
class CelWidgetMapPoint extends Cel {
|
34 |
class CelWidgetMapPoint extends Cel {
|
666 |
date_observation LIKE $date
|
660 |
date_observation LIKE $date
|
667 |
OR date_creation LIKE $date
|
661 |
OR date_creation LIKE $date
|
668 |
OR date_modification LIKE $date
|
662 |
OR date_modification LIKE $date
|
669 |
OR date_transmission LIKE $date) ";
|
663 |
OR date_transmission LIKE $date) ";
|
1311 |
}
|
1305 |
}
|
1312 |
?>
|
1306 |
?>
|