Add files via upload

This commit is contained in:
Markines16 2021-05-25 00:50:53 +02:00 committed by GitHub
parent ffce51748a
commit 045e93198e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
<?php <?php
include_once($prefix.'assets/php/includes/hall_dao.php'); include_once('hall_dao.php');
include_once('seat_dao.php'); include_once('seat_dao.php');
class Hall{ class Hall{
@ -80,6 +80,12 @@
} else { return "Error al conectarse a la base de datos"; } } else { return "Error al conectarse a la base de datos"; }
} }
public static function search_hall($number,$cinema){
$bd = new HallDAO('complucine');
if($bd )
return $bd->searchHall($number,$cinema);;
}
//Getters && Setters: //Getters && Setters:
public function setNumber($number){ $this->_number = $number; } public function setNumber($number){ $this->_number = $number; }
public function getNumber(){ return $this->_number; } public function getNumber(){ return $this->_number; }