ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.Context.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Notes;
22
28{
29 protected int $obj_id = 0;
30 protected int $sub_obj_id = 0;
31 protected int $news_id = 0;
32 protected string $type = "";
33 protected bool $in_repo = false;
34
35 public function __construct(
36 int $obj_id = 0,
37 int $sub_obj_id = 0,
38 string $type = "",
39 int $news_id = 0,
40 bool $in_repo = true
41 ) {
42 $this->obj_id = $obj_id;
43 $this->sub_obj_id = $sub_obj_id;
44 $this->type = $type;
45 $this->news_id = $news_id;
46 $this->in_repo = $in_repo;
47 }
48
49 public function getObjId(): int
50 {
51 return $this->obj_id;
52 }
53
54 public function getSubObjId(): int
55 {
56 return $this->sub_obj_id;
57 }
58
59 public function getNewsId(): int
60 {
61 return $this->news_id;
62 }
63
64 public function getType(): string
65 {
66 return $this->type;
67 }
68
69 public function getInRepository(): bool
70 {
71 return $this->in_repo;
72 }
73}
__construct(int $obj_id=0, int $sub_obj_id=0, string $type="", int $news_id=0, bool $in_repo=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...