modules/archi/includes/archiAdresse.class.php
public function getInfosVille($idVille = 0, $params = array())
    {
        $fieldList = " * ";
        if (isset($params['fieldList']) && $params['fieldList']!='') {
            $fieldList = $params['fieldList'];
        }
        $req = "SELECT $fieldList
                FROM ville v
                LEFT JOIN pays p ON p.idPays = v.idPays
                WHERE v.idVille = $idVille";
        $res = $this->connexionBdd->requete($req);
        return mysql_fetch_assoc($res);
    }
public function getInfosVille($idVille = 0, $params = array())
    {
        $fieldList = " * ";
        if (isset($params['fieldList']) && $params['fieldList']!='') {
            $fieldList = $params['fieldList'];
        }
        $req = "SELECT $fieldList
                FROM ville v
                LEFT JOIN pays p ON p.idPays = v.idPays
                WHERE v.idVille = $idVille";
        $res = $this->connexionBdd->requete($req);
        return mysql_fetch_assoc($res);
    }
public function getInfosVille ( $ idVille = 0 , $ params = array ( ) ) { $ fieldList = " * " ; if ( isset ( $ params [ 'fieldList' ] ) && $ params [ 'fieldList' ] != '' ) { $ fieldList = $ params [ 'fieldList' ] ; } $ req = "SELECT $fieldList
                FROM ville v
                LEFT JOIN pays p ON p.idPays = v.idPays
                WHERE v.idVille = $idVille" ; $ res = $ this -> connexionBdd -> requete ( $ req ) ; return mysql_fetch_assoc ( $ res ) ; }
renvoi un tableau contenant des infos sur la ville en parametre
renvoi un tableau contenant des infos sur la ville en parametre