backup du projet

This commit is contained in:
Yasder5
2026-02-26 00:19:11 +01:00
commit 4655c05be6
670 changed files with 87655 additions and 0 deletions

30
models/image_model.php Normal file
View File

@@ -0,0 +1,30 @@
<?php
require_once('mother_model.php');
/**
* Traitement de la requête pour les images
* @author Laura
*/
class ImageModel extends Connect{
/**
* Fonction de récupération des images
* @param int $intLimit
* @return array
*/
public function findAllImage(int $intLimit=0):array{
$strRq = "SELECT image.*
FROM image";
if ($intLimit > 0){
$strRq .= " LIMIT ".$intLimit;
}
return $this->_db->query($strRq)->fetchAll();
}
}