Пример #1
0
function rewrite_prod($ref, $lang = false)
{
    $prod = new Produit($ref, $lang);
    $desc = new Produitdesc($prod->id, $lang);
    return $desc->charger_reecriture()->url;
}