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: Fiche.php 58 2010-04-30 16:32:28Z jpm $
|
12 |
* @version SVN: $Id: Fiche.php 68 2010-05-17 16:56:20Z jpm $
|
13 |
*/
|
13 |
*/
|
14 |
class Fiche extends ColControleur {
|
14 |
class Fiche extends ColControleur {
|
Line 15... |
Line 15... |
15 |
|
15 |
|
16 |
private $structureDao = null;
|
16 |
private $structureDao = null;
|
Line 258... |
Line 258... |
258 |
Ontologie::chargerListe(1080);
|
258 |
Ontologie::chargerListe(1080);
|
Line 259... |
Line 259... |
259 |
|
259 |
|
260 |
foreach ($personnes as &$personne) {
|
260 |
foreach ($personnes as &$personne) {
|
261 |
$personne['_role_'] = $this->construireTxtListeOntologie($personne['ccap_id_role']);
|
261 |
$personne['_role_'] = $this->construireTxtListeOntologie($personne['ccap_id_role']);
|
262 |
$personne['_deces_'] = $this->construireTxtListeOntologie($personne['cp_ce_deces']);
|
262 |
$personne['_deces_'] = $this->construireTxtListeOntologie($personne['cp_ce_deces']);
|
263 |
$personne['_naissance_date_'] = $this->formaterDate($personne['cp_naissance_date']);
|
263 |
$personne['_naissance_date_'] = $this->formaterDate($personne['cp_naissance_date'], ColControleur::FMT_DATE);
|
264 |
$personne['_deces_date_'] = $this->formaterDate($personne['cp_deces_date']);
|
264 |
$personne['_deces_date_'] = $this->formaterDate($personne['cp_deces_date'], ColControleur::FMT_DATE);
|
265 |
$personne['_url_'] = $this->obtenirUrlFichePersonne($personne['ccap_id_personne']);
|
265 |
$personne['_url_'] = $this->obtenirUrlFichePersonne($personne['ccap_id_personne']);
|
266 |
}
|
266 |
}
|