Import initial du projet Production

This commit is contained in:
KANE LAZENI
2025-12-01 16:12:12 +00:00
commit 2f364ab2fc
14257 changed files with 3395325 additions and 0 deletions

21
Modele/Etatpolice.php Executable file
View File

@@ -0,0 +1,21 @@
<?php
require_once 'Framework/Modele.php';
class Etatpolice extends Modele {
public function getListe()
{
if (est_anglophone())
{
$sql = 'SELECT codeEtatPolice as `code`, libelleEng as libelle FROM etatpolice order by libelle';
}
else
{
$sql = 'SELECT codeEtatPolice as `code`, libelle FROM etatpolice order by libelle';
}
$liste = $this->executerRequete($sql);
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
}