Subversion Repositories Sites.obs-saisons.fr

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
290 aurelien 1
<?php
2
// declare(encoding='UTF-8');
3
/**
4
 * Modèle d'accès aux images
5
 */
6
 
7
class ImageDao extends Dao {
8
 
9
	const SERVICE_IMAGE = 'OdsImageEspece';
10
 
11
	public function ajoutImageEspece($valeurs_image) {
12
		$url = $this->url_jrest.self::SERVICE_IMAGE."/";
13
		$json = $this->envoyerRequeteAjout($url, $valeurs_image);
14
		$donnees = json_decode($json, true);
15
		return ($donnees == 'ok');
16
	}
17
 
18
}