ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
SubObjectID.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 protected int $obj_id;
26 protected int $sub_id;
27 protected string $sub_type;
28
29 public function __construct(
30 int $obj_id,
31 int $sub_id,
32 string $sub_type
33 ) {
34 $this->obj_id = $obj_id;
35 $this->sub_id = $sub_id;
36 $this->sub_type = $sub_type;
37 }
38
39 public function subtype(): string
40 {
41 return $this->sub_type;
42 }
43
44 public function objID(): int
45 {
46 return $this->obj_id;
47 }
48
49 public function subID(): int
50 {
51 return $this->sub_id;
52 }
53}
__construct(int $obj_id, int $sub_id, string $sub_type)
Definition: SubObjectID.php:29