Initial commit for newdesigngestionnaire project

This commit is contained in:
2026-02-20 11:18:16 +00:00
commit 8757eaca01
14144 changed files with 3475356 additions and 0 deletions

21
Modele/Sexe.php Executable file
View File

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