PHP 클래스 Reservations_model, TastyIgniter

상속: extends TI_Model
파일 보기 프로젝트 열기: tastyigniter/tastyigniter

공개 메소드들

메소드 설명
addReservation ( $add = [] )
deleteReservation ( $reservation_id )
findATable ( $find = [] )
getCount ( $filter = [] )
getList ( $filter = [] )
getLocationTablesByMinCapacity ( $location_id, $guest_num )
getMailData ( $reservation_id )
getReservation ( $reservation_id = FALSE, $customer_id = FALSE )
getReservationDates ( )
getReservations ( )
getReservedTableByDate ( $find = [], $table_id, $group = FALSE )
getTotalCapacityByLocation ( $location_id = FALSE )
getTotalGuestsByLocation ( $location_id = FALSE, $date = FALSE )
getTotalSeats ( $location_id )
sendMail ( $email, $mail_template = [], $mail_data = [] )
updateReservation ( $reservation_id, $update = [] )
validateReservation ( $reservation_id )

메소드 상세

addReservation() 공개 메소드

public addReservation ( $add = [] )

deleteReservation() 공개 메소드

public deleteReservation ( $reservation_id )

findATable() 공개 메소드

public findATable ( $find = [] )

getCount() 공개 메소드

public getCount ( $filter = [] )

getList() 공개 메소드

public getList ( $filter = [] )

getLocationTablesByMinCapacity() 공개 메소드

public getLocationTablesByMinCapacity ( $location_id, $guest_num )

getMailData() 공개 메소드

public getMailData ( $reservation_id )

getReservation() 공개 메소드

public getReservation ( $reservation_id = FALSE, $customer_id = FALSE )

getReservationDates() 공개 메소드

public getReservationDates ( )

getReservations() 공개 메소드

public getReservations ( )

getReservedTableByDate() 공개 메소드

public getReservedTableByDate ( $find = [], $table_id, $group = FALSE )

getTotalCapacityByLocation() 공개 메소드

public getTotalCapacityByLocation ( $location_id = FALSE )

getTotalGuestsByLocation() 공개 메소드

public getTotalGuestsByLocation ( $location_id = FALSE, $date = FALSE )

getTotalSeats() 공개 메소드

public getTotalSeats ( $location_id )

sendMail() 공개 메소드

public sendMail ( $email, $mail_template = [], $mail_data = [] )

updateReservation() 공개 메소드

public updateReservation ( $reservation_id, $update = [] )

validateReservation() 공개 메소드

public validateReservation ( $reservation_id )