private function get_deferral_labels($_now)
 {
     $b = new ReservationBooking($this->user, $this->title);
     return $b->get_deferral_labels($this->maxBookingDeferralInDays, $this->maxBookingDurationInHoursFixed, $_now);
 }
 private function getLogUpdateMessage($newUnixTime, $bookingID)
 {
     $b = new ReservationBooking($this->getUser(), $this->title);
     $b->setID($bookingID);
     //print_r( $newUnixTime );
     //print_r( $b->getUnixStart() );
     if ($newUnixTime < $b->getUnixStart()) {
         $verb = wfMessage('reservation-log-cancelled')->text();
     } else {
         $verb = wfMessage('reservation-log-stopped')->text();
     }
     return $this->getLogMessage($verb, $b->getBeneficiaryName(), $b->getQuantity(), $b->getResourceName($b->getResourceID()), $b->getUnixStart(), $b->getUnixEnd());
 }