Subversion Repositories eFlore/Applications.del

Rev

Rev 1794 | Rev 1848 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1794 Rev 1845
Line 1... Line 1...
1
<?php
1
<?php
2
// declare(encoding='UTF-8');
2
// declare(encoding='UTF-8');
3
/**
3
/**
4
 * Les web service permet d'ajouter ou de modifier les votes associƩs aux propositions d'une observation
4
 * Web service permetant d'ajouter ou de modifier les votes associƩs aux propositions d'une observation.
5
 *
5
 *
6
 * @category	php 5.2
6
 * @category   DEL
7
 * @package	del
7
 * @package    Services
8
 * @subpackage images
8
 * @subpackage Observations
-
 
9
 * @version    0.1
9
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
10
 * @author     Mathias CHOUET <mathias@tela-botanica.org>
10
 * @copyright	Copyright (c) 2012, Tela Botanica (accueil@tela-botanica.org)
11
 * @author     Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
12
 * @author     Aurelien PERONNET <aurelien@tela-botanica.org>
12
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
13
 * @license    GPL v3 <http://www.gnu.org/licenses/gpl.txt>
13
 * @version	$Id: Bdd.php 403 2012-02-22 14:35:20Z gduche $
14
 * @license    CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
14
 * @see http://www.tela-botanica.org/wikini/eflore/wakka.php?wiki=ApiIdentiplante01Images
15
 * @copyright  1999-2014 Tela Botanica <accueil@tela-botanica.org>
15
 */
16
 */
Line 16... Line 17...
16
 
17
 
17
class VoteObservation extends RestService {
18
class VoteObservation extends RestService {
18
	protected $conteneur;
19
	protected $conteneur;
Line 277... Line 278...
277
			return $this->bdd->protegerTableau($valeur);
278
			return $this->bdd->protegerTableau($valeur);
278
		} else {
279
		} else {
279
			return $this->bdd->proteger($valeur);
280
			return $this->bdd->proteger($valeur);
280
		}
281
		}
281
	}
282
	}
282
}
-
 
283
?>
-
 
284
283
}
-
 
284
285
285