ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
class.WeekGridEntry.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
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}
__construct(protected int $start, protected int $end, protected string $html)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...