Subversion Repositories Applications.annuaire

Rev

Rev 248 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
/**
* PHP Version 5
*
* @category  PHP
* @package   annuaire
* @author    aurelien <aurelien@tela-botanica.org>
* @copyright 2010 Tela-Botanica
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
* @version   SVN: <svn_id>
* @link      /doc/annuaire/
*/

Class StatistiquesAnnuaire extends JRestService {

        public function getElement($uid){

            if(!isset($uid[0])) {
                        $id_annuaire = $uid[0];
            } else {
                        $id_annuaire = Config::get('annuaire_defaut');
            }

            $controleur = new StatistiquesControleur();
                $valeurs = $controleur->obtenirGraphiques($id_annuaire);

                $this->envoyer($valeurs);
        }
}
?>