Add files via upload
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user