Changeset 1200 for cpc/trunk/project/apps
- Timestamp:
- May 25, 2010, 9:24:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/api/actions/actions.class.php
r1199 r1200 79 79 $this->res['depute']['nom'] = $depute->nom; 80 80 $this->res['depute']['nom_de_famille'] = $depute->nom_de_famille; 81 $this->res['depute']['nom_circo'] = $depute->nom_circo; 82 $this->res['depute']['num_circo'] = $depute->num_circo; 83 $this->res['depute']['debut_mandat'] = $depute->debut_mandat; 84 if ($depute->fin_mandat) 85 $this->res['depute']['fin_mandat'] = $depute->fin_mandat; 81 86 $this->res['depute']['groupe'] = $depute->getGroupe(); 82 87 $this->res['depute']['groupe_sigle'] = $depute->groupe_acronyme; 88 $this->res['depute']['responsabilites'] = $this->array2hash($depute->getResponsabilites(), 'responsabilite'); 89 $this->res['depute']['responsabilites_extra_parlementaires'] = $this->array2hash($depute->getExtras(), 'responsabilite'); 90 $this->multi['responsabilite'] = 1; 83 91 $this->res['depute']['site_web'] = $depute->site_web; 84 92 $this->res['depute']['url_an'] = 'http://www.assembleenationale.fr/13/tribun/fiches_id/'.$depute->id_an.'.asp'; … … 89 97 $this->res['depute']['autres_mandats'] = $this->array2hash(unserialize($depute->autres_mandats), 'mandat'); 90 98 $this->multi['mandat'] = 1; 91 $this->res['depute'][' responsabilites'] = $this->array2hash($depute->getResponsabilites(), 'responsabilite');92 $this->res['depute'][' responsabilites_extra_parlementaires'] = $this->array2hash($depute->getExtras(), 'responsabilite');93 $this-> multi['responsabilite'] = 1;99 $this->res['depute']['profession'] = $depute->profession; 100 $this->res['depute']['place_en_hemicycle'] = $depute->place_hemicycle; 101 $this->res['depute']['sexe'] = $depute->sexe; 94 102 $this->champ = 'depute'; 95 103 $this->breakline = '';
Note: See TracChangeset
for help on using the changeset viewer.