ILIAS  release_7 Revision v7.30-3-g800a261c036
AccessSettings.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
6
13{
17 protected $start_date;
18
22 protected $end_date;
23
28
35 public function __construct(
36 int $start_date,
37 int $end_date,
39 ) {
40 $this->start_date = $start_date;
41 $this->end_date = $end_date;
42 $this->access_by_codes = $access_by_codes;
43 }
44
50 public function getStartDate() : int
51 {
52 return $this->start_date;
53 }
54
60 public function getEndDate() : int
61 {
62 return $this->end_date;
63 }
64
70 public function getAccessByCodes() : bool
71 {
73 }
74}
An exception for terminatinating execution or to throw for unit testing.
getEndDate()
Get start date (unix ts)
__construct(int $start_date, int $end_date, bool $access_by_codes)
Constructor.
getAccessByCodes()
Get access by codes.
getStartDate()
Get start date (unix ts)