ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilTreeTrashItem.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  private int $deleted_by = 0;
28 
29  private ?string $deleted = null;
30 
31  private string $type = '';
32 
33  private ?string $description = '';
34 
35  private string $title = '';
36 
37  private int $ref_id = 0;
38 
39  private int $obj_id = 0;
40 
44  public function __construct()
45  {
46  }
47 
48  public function setObjId(int $obj_id): void
49  {
50  $this->obj_id = $obj_id;
51  }
52 
53  public function getObjId(): int
54  {
55  return $this->obj_id;
56  }
57 
58  public function setRefId(int $ref_id): void
59  {
60  $this->ref_id = $ref_id;
61  }
62 
63  public function getRefId(): int
64  {
65  return $this->ref_id;
66  }
67 
68  public function setTitle(string $title): void
69  {
70  $this->title = $title;
71  }
72 
73  public function getTitle(): string
74  {
75  return $this->title;
76  }
77 
78  public function setDescription(?string $description): void
79  {
80  $this->description = $description;
81  }
82 
83  public function getDescription(): ?string
84  {
85  return $this->description;
86  }
87 
88  public function setType(string $type): void
89  {
90  $this->type = $type;
91  }
92 
93  public function getType(): string
94  {
95  return $this->type;
96  }
97 
98  public function setDeleted(?string $deleted): void
99  {
100  $this->deleted = $deleted;
101  }
102 
103  public function getDeleted(): ?string
104  {
105  return $this->deleted;
106  }
107 
108  public function setDeletedBy(int $deleted_by): void
109  {
110  $this->deleted_by = $deleted_by;
111  }
112 
113  public function getDeletedBy(): int
114  {
115  return $this->deleted_by;
116  }
117 }
setDeletedBy(int $deleted_by)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct()
ilTreeTrashItem constructor.
setTitle(string $title)
setDeleted(?string $deleted)
setDescription(?string $description)