Class NextBooking

Description

Find the next booking already in the database

Located in /inc/bookings/bookingdata.php (line 157)


	
			
Variable Summary
Method Summary
NextBooking NextBooking (SimpleDate $start, mixed $instrument)
void _fill ()
Variables
SimpleDate $booking = null (line 163)
  • var: start of the next booking (null if none)
boolean $fatal_sql = 1 (line 165)
  • var: sql errors are fatal
boolean $includeDeleted = 0 (line 167)
  • var: include deleted bookings in listing
mixed $instrument (line 161)
  • var: instrument id number or list of ids of interest
string $start (line 159)
  • var: start of the query (SQL date-time string)
Methods
Constructor NextBooking (line 175)

Obtain the booking listing within defined parameters

NextBooking NextBooking (SimpleDate $start, mixed $instrument)
  • SimpleDate $start: start date for searching for the next booking
  • mixed $instrument: id for the instrument to check or list of ids
_fill (line 187)

Interrogate the database to get the bookings

  • global: string $TABLEPREFIX: prefix prepended to all table names in database
void _fill ()

Documentation generated on Tue, 06 Mar 2007 10:00:49 +0000 by phpDocumentor 1.3.0