Add files via upload

This commit is contained in:
Fernando Méndez
2021-06-03 11:26:35 +02:00
committed by GitHub
parent d56c04f076
commit 8a65fdb574
9 changed files with 224 additions and 166 deletions

View File

@ -28,16 +28,7 @@
public static function getListSessions($hall,$cinema,$date){
$bd = new SessionDAO('complucine');
if($bd ) {
if($date)
return $bd->getAllSessions($hall, $cinema, $date, null);
else
return $bd->getAllSessions($hall, $cinema, null, null);
}
}
public static function getListSessionsBetween2Dates($hall,$cinema,$start,$end){
$bd = new SessionDAO('complucine');
if($bd ) {
return $bd->getAllSessions($hall, $cinema, $start, $end);
return $bd->getAllSessions($hall, $cinema, $date);
}
}