ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
EmployeeTalkSerieSettingsDto.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
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 }