ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilTreeTrashItem.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
13{
17 private $deleted_by;
18
22 private $deleted;
23
27 private $type;
28
32 private $description;
33
37 private $title;
38
42 private $ref_id;
43
47 private $obj_id;
48
52 public function __construct()
53 {
54 }
55
56
60 public function setObjId(int $obj_id)
61 {
62 $this->obj_id = $obj_id;
63 }
64
65 public function getObjId() : int
66 {
67 return $this->obj_id;
68 }
69
73 public function setRefId(int $ref_id)
74 {
75 $this->ref_id = $ref_id;
76 }
77
81 public function getRefId() : int
82 {
83 return $this->ref_id;
84 }
85
86
90 public function setTitle(string $title)
91 {
92 $this->title = $title;
93 }
94
98 public function getTitle() : string
99 {
100 return $this->title;
101 }
102
103
107 public function setDescription(?string $description)
108 {
109 $this->description = $description;
110 }
111
115 public function getDescription() : ?string
116 {
117 return $this->description;
118 }
119
123 public function setType($type)
124 {
125 $this->type = $type;
126 }
127
131 public function getType() : string
132 {
133 return $this->type;
134 }
135
139 public function setDeleted(?string $deleted)
140 {
141 $this->deleted = $deleted;
142 }
143
147 public function getDeleted() : ?string
148 {
149 return $this->deleted;
150 }
151
152
156 public function setDeletedBy(int $deleted_by)
157 {
158 $this->deleted_by = $deleted_by;
159 }
160
164 public function getDeletedBy() : int
165 {
166 return $this->deleted_by;
167 }
168}
An exception for terminatinating execution or to throw for unit testing.
setTitle(string $title)
setDeletedBy(int $deleted_by)
setDescription(?string $description)
setDeleted(?string $deleted)
__construct()
ilTreeTrashItem constructor.