AP44/Class/class.gestionFiche.php
2023-12-21 15:51:21 +01:00

26 lines
532 B
PHP

<?php
class Class_gestionFiche
{
private $pdo = null;
public function __construct(PdoGsb $pDO)
{
$this->pdo = $pDO->getPdoGsb();
}
public function getLesUtilisateurs(): array
{
$req = 'SELECT "uId", "uNom", "uPrenom" FROM utilisateur WHERE "uStatut"!=0 ORDER BY "uNom" ASC;';
$result = $this->pdo->prepare($req);
$result ->execute();
return $result->fetchAll();
}
public function utilisateur(string $idUtilisateur): array
{
$req = '';
}
}