Subversion Repositories Sites.obs-saisons.fr

Rev

Blame | Last modification | View Log | RSS feed

<?php
// declare(encoding='UTF-8');
/**
 * Modèle d'accès aux images
 */

class ImageDao extends Dao {
        
        const SERVICE_IMAGE = 'OdsImageEspece';
        
        public function ajoutImageEspece($valeurs_image) {
                $url = $this->url_jrest.self::SERVICE_IMAGE."/";
                $json = $this->envoyerRequeteAjout($url, $valeurs_image);
                $donnees = json_decode($json, true);
                return ($donnees == 'ok');
        }
        
}