ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilNewsContext.php
Go to the documentation of this file.
1<?php
2
23{
24 protected int $obj_id;
25 protected string $obj_type;
26 protected int $sub_id;
27 protected string $sub_type;
28
29 public function __construct(int $obj_id, string $obj_type, int $sub_id, string $sub_type)
30 {
31 $this->obj_id = $obj_id;
32 $this->obj_type = $obj_type;
33 $this->sub_id = $sub_id;
34 $this->sub_type = $sub_type;
35 }
36
37 public function getObjId(): int
38 {
39 return $this->obj_id;
40 }
41
42 public function getObjType(): string
43 {
44 return $this->obj_type;
45 }
46
47 public function getSubId(): int
48 {
49 return $this->sub_id;
50 }
51
52 public function getSubType(): string
53 {
54 return $this->sub_type;
55 }
56}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $obj_id, string $obj_type, int $sub_id, string $sub_type)