コード例 #1
0
 /**
  * Loads current allocations from the db and resets the min/max dates to default.
  * $bookingId : booking id for this allocation
  */
 function load($bookingId)
 {
     $this->allocationRows = AllocationDBO::fetchAllocationRowsForBookingId($bookingId, $this->resourceMap);
     $this->setDefaultMinMaxDates();
 }