Changeset 2550 for cpc/trunk/project


Ignore:
Timestamp:
Jan 1, 2012, 6:37:20 AM (9 years ago)
Author:
goya
Message:

add numéro département + prenom à API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/api/actions/actions.class.php

    r2417 r2550  
    130130    $this->res['depute']['id'] = $depute->id * 1;
    131131    $this->res['depute']['nom'] = $depute->nom;
    132     $this->res['depute']['nom_de_famille'] = $depute->nom_de_famille;
     132    $this->res['depute']['nom_de_famille'] = $depute->getNomFamilleCorrect();
    133133    $this->res['depute']['prenom'] = $depute->getPrenom();
    134134    $this->res['depute']['slug'] = $depute->getSlug();
     135    $this->res['depute']['num_deptmt'] = $depute->getNumDepartement();
    135136    $this->res['depute']['nom_circo'] = $depute->nom_circo;
    136137    $this->res['depute']['num_circo'] = $depute->num_circo * 1;
Note: See TracChangeset for help on using the changeset viewer.