ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
EmployeeTalkSerieSettingsDto.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
24 {
25  private int $obj_id = -1;
26  private bool $locked_editing = false;
27 
28  public function __construct(
29  int $obj_id,
30  bool $locked_editing
31  ) {
32  $this->obj_id = $obj_id;
33  $this->locked_editing = $locked_editing;
34  }
35 
36  public function getObjectId(): int
37  {
38  return $this->obj_id;
39  }
40 
41  public function setObjectId(int $obj_id): EmployeeTalkSerieSettingsDto
42  {
43  $this->obj_id = $obj_id;
44  return $this;
45  }
46 
47  public function isLockedEditing(): bool
48  {
49  return $this->locked_editing;
50  }
51 
52  public function setLockedEditing(bool $locked_editing): EmployeeTalkSerieSettingsDto
53  {
54  $this->locked_editing = $locked_editing;
55  return $this;
56  }
57 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...