ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
AccessSettings.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
29 {
30  protected int $start_date;
31  protected int $end_date;
32  protected bool $access_by_codes;
33 
39  public function __construct(
40  int $start_date,
41  int $end_date,
42  bool $access_by_codes
43  ) {
44  $this->start_date = $start_date;
45  $this->end_date = $end_date;
46  $this->access_by_codes = $access_by_codes;
47  }
48 
52  public function getStartDate(): int
53  {
54  return $this->start_date;
55  }
56 
60  public function getEndDate(): int
61  {
62  return $this->end_date;
63  }
64 
68  public function getAccessByCodes(): bool
69  {
71  }
72 }
getEndDate()
Get start date (unix ts)
getStartDate()
Get start date (unix ts)
__construct(int $start_date, int $end_date, bool $access_by_codes)
getAccessByCodes()
Get access by codes.