ILIAS  release_8 Revision v8.24
class.ilTreeTrashItem.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
6
12{
13 private int $deleted_by = 0;
14
15 private ?string $deleted = null;
16
17 private string $type = '';
18
19 private ?string $description = '';
20
21 private string $title = '';
22
23 private int $ref_id = 0;
24
25 private int $obj_id = 0;
26
30 public function __construct()
31 {
32 }
33
34 public function setObjId(int $obj_id): void
35 {
36 $this->obj_id = $obj_id;
37 }
38
39 public function getObjId(): int
40 {
41 return $this->obj_id;
42 }
43
44 public function setRefId(int $ref_id): void
45 {
46 $this->ref_id = $ref_id;
47 }
48
49 public function getRefId(): int
50 {
51 return $this->ref_id;
52 }
53
54 public function setTitle(string $title): void
55 {
56 $this->title = $title;
57 }
58
59 public function getTitle(): string
60 {
61 return $this->title;
62 }
63
64 public function setDescription(?string $description): void
65 {
66 $this->description = $description;
67 }
68
69 public function getDescription(): ?string
70 {
71 return $this->description;
72 }
73
74 public function setType(string $type): void
75 {
76 $this->type = $type;
77 }
78
79 public function getType(): string
80 {
81 return $this->type;
82 }
83
84 public function setDeleted(?string $deleted): void
85 {
86 $this->deleted = $deleted;
87 }
88
89 public function getDeleted(): ?string
90 {
91 return $this->deleted;
92 }
93
94 public function setDeletedBy(int $deleted_by): void
95 {
96 $this->deleted_by = $deleted_by;
97 }
98
99 public function getDeletedBy(): int
100 {
101 return $this->deleted_by;
102 }
103}
setTitle(string $title)
setDeletedBy(int $deleted_by)
setDescription(?string $description)
setDeleted(?string $deleted)
__construct()
ilTreeTrashItem constructor.