RavSystem API docs

ReservationUpdatePolicy extends ReservationPolicy
in package

Table of Contents

$reservation  : Reservation
$building  : Building
$buildingRepository  : IBuildingRepository
$configuration  : Configuration
$database  : IDatabase
$room  : Room
$roomRepository  : IRoomRepository
$user  : User
$userRepository  : IUserRepository
__construct()  : mixed
__invoke()  : void
noCrossingReservationWasMade()  : void
Check if reservation with similar time slot exists
reservationHasFutureTime()  : void
reservationTimeSlotLengthIsOk()  : void
reservationWhenBuildingIsOpen()  : void
check if the building is open ig given time slot
roomBelongsToBuilding()  : void
roomCannotBeBlocked()  : void
check if the room is blocked
reservationHasNotStarted()  : void
chceck if reservation has already started
updateMaxTimeBefore()  : void
check if update is max 1 hour before - disabled

Properties

Methods

noCrossingReservationWasMade()

Check if reservation with similar time slot exists

protected noCrossingReservationWasMade([int|null $excludeId = NULL ]) : void
Parameters
$excludeId : int|null = NULL
Tags
throws
TimeSlotConflictException
Return values
void

reservationHasNotStarted()

chceck if reservation has already started

private reservationHasNotStarted() : void
Return values
void

updateMaxTimeBefore()

check if update is max 1 hour before - disabled

private updateMaxTimeBefore() : void
Return values
void

Search results