ILIAS
trunk Revision v13.0_alpha-52-g21c366bbdd4
◀ ilDoc Overview
class.WeekGridEntry.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\BookingManager\BookingProcess
;
22
23
class
WeekGridEntry
24
{
25
public
function
__construct
(
26
protected
int
$start,
27
protected
int
$end,
28
protected
string
$html
29
) {
30
}
31
32
public
function
getStart
():
int
33
{
34
return
$this->start;
35
}
36
37
public
function
getEnd
():
int
38
{
39
return
$this->end;
40
}
41
42
public
function
getHTML
(): string
43
{
44
return
$this->html;
45
}
46
47
public
function
isAllDay
(): bool
48
{
49
return
($this->
getEnd
() - $this->
getStart
()) === 86400;
50
}
51
}
ILIAS\BookingManager\BookingProcess\WeekGridEntry
Definition:
class.WeekGridEntry.php:24
ILIAS\BookingManager\BookingProcess\WeekGridEntry\getEnd
getEnd()
Definition:
class.WeekGridEntry.php:37
ILIAS\BookingManager\BookingProcess\WeekGridEntry\__construct
__construct(protected int $start, protected int $end, protected string $html)
Definition:
class.WeekGridEntry.php:25
ILIAS\BookingManager\BookingProcess\WeekGridEntry\getStart
getStart()
Definition:
class.WeekGridEntry.php:32
ILIAS\BookingManager\BookingProcess\WeekGridEntry\getHTML
getHTML()
Definition:
class.WeekGridEntry.php:42
ILIAS\BookingManager\BookingProcess\WeekGridEntry\isAllDay
isAllDay()
Definition:
class.WeekGridEntry.php:47
ILIAS\BookingManager\BookingProcess
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.BookingProcessManager.php:21
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
BookingManager
BookingProcess
class.WeekGridEntry.php
Generated on Tue Nov 10 2026 23:07:52 for ILIAS by
1.9.4 (using
Doxyfile
)