aboutsummaryrefslogtreecommitdiff
path: root/lib/models/resources/Location.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2025-06-06 09:49:36 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2025-06-06 09:49:36 +0000
commit0798c405219bd6af40549c057cb3428a0907cdf9 (patch)
tree25e4547c086a39dc03d73ff428eac1f67f9a12d6 /lib/models/resources/Location.php
parentc394626a1ca1f968b8651c4230e7b1e48bfbdea1 (diff)
Allow setting a subsequent time for a resource booking, closes #5127
Closes #5127 Merge request studip/studip!3859
Diffstat (limited to 'lib/models/resources/Location.php')
-rw-r--r--lib/models/resources/Location.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/models/resources/Location.php b/lib/models/resources/Location.php
index 9078b71..75c6c12 100644
--- a/lib/models/resources/Location.php
+++ b/lib/models/resources/Location.php
@@ -349,7 +349,8 @@ class Location extends Resource
$preparation_time = 0,
$description = '',
$internal_comment = '',
- $booking_type = ResourceBooking::TYPE_NORMAL
+ $booking_type = ResourceBooking::TYPE_NORMAL,
+ $subsequent_time = 0
)
{
return null;
@@ -363,7 +364,8 @@ class Location extends Resource
$internal_comment = '',
$booking_type = ResourceBooking::TYPE_NORMAL,
$prepend_preparation_time = false,
- $notify_lecturers = false
+ $notify_lecturers = false,
+ $subsequent_time = 0
)
{
return null;
@@ -381,7 +383,8 @@ class Location extends Resource
$internal_comment = '',
$booking_type = ResourceBooking::TYPE_NORMAL,
$force_booking = false,
- string $weekdays = ''
+ string $weekdays = '',
+ int $subsequent_time = 0
)
{
return null;
@@ -392,7 +395,8 @@ class Location extends Resource
DateTime $begin,
DateTime $end,
$comment = '',
- $preparation_time = 0
+ $preparation_time = 0,
+ $subsequent_time = 0
)
{
return null;
@@ -403,7 +407,8 @@ class Location extends Resource
$date_range_ids = null,
$comment = '',
$properties = [],
- $preparation_time = 0
+ $preparation_time = 0,
+ $subsequent_time = 0
)
{
return null;