Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 22 Rev 31
Line 7... Line 7...
7
 * @category	php 5.2
7
 * @category	php 5.2
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @copyright	2010 Tela-Botanica
9
 * @copyright	2010 Tela-Botanica
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
12
 * @version		SVN: $Id: PersonneDao.php 22 2010-03-30 10:50:03Z jpm $
12
 * @version		SVN: $Id: PersonneDao.php 31 2010-04-07 15:06:53Z jpm $
13
 *
13
 *
14
 */
14
 */
15
class PersonneDao extends ColModele {
15
class PersonneDao extends ColModele {
16
	const SERVICE_PERSONNE = 'CoelPersonne';
16
	const SERVICE_PERSONNE = 'CoelPersonne';
Line 28... Line 28...
28
		return $donnees;
28
		return $donnees;
29
	}
29
	}
Line 30... Line 30...
30
	
30
	
31
	public function getPersonneNomComplet($id) {
31
	public function getPersonneNomComplet($id) {
32
		$donnees = $this->getPersonne($id);
32
		$donnees = $this->getPersonne($id);
33
		$nom_complet = $donnees[1][0]['cp_fmt_nom_complet'];
33
		$nom_complet = $donnees['personnes'][0]['cp_fmt_nom_complet'];
34
		return $nom_complet;
34
		return $nom_complet;
35
	}
35
	}
36
}
36
}
37
?>
37
?>