page connexion

This commit is contained in:
2025-12-08 13:00:18 +00:00
parent c18ec9c3c2
commit f817b4ec48
3 changed files with 15 additions and 13 deletions

View File

@@ -40,5 +40,14 @@ class Societeuser extends Modele {
return $nbTentativeConnexionMax;
}
public function getLangues()
{
$sql = 'SELECT codeLangue AS `code`, CONCAT(libelle, " <=> ", libelleEng) AS libelle FROM langue ORDER BY parDefaut DESC, 2;';
$resultat = $this->executerRequete($sql);
return $resultat->fetchAll(PDO::FETCH_ASSOC);
}
}