/trunk/jrest/lib/FormateurGroupeColonne.php |
---|
349,9 → 349,14 |
} |
static function getNomCommun_v4($obs, $cel) { |
static $is_table = false; |
if(! $obs['nt']) return NULL; |
if(!$is_table) { |
// une seule fois |
if(! $cel->executerRequete("SHOW TABLES LIKE 'cel_references'", Cel::SQL_RETOUR_LIGNE)) return NULL; |
$is_table = true; |
} |
$langue = 'fra'; |
list($referentiel) = explode(':', strtolower($obs['nom_referentiel'])); |
$cache_id = $referentiel . '-' . $obs['nt'] . '-' . $langue; |