ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilConditionTarget.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
28 protected int $ref_id;
29 protected int $obj_id;
30 protected string $type;
31
32 public function __construct(int $ref_id, int $obj_id, string $obj_type)
33 {
34 $this->ref_id = $ref_id;
35 $this->obj_id = $obj_id;
36 $this->type = $obj_type;
37 }
38
39 public function getRefId(): int
40 {
41 return $this->ref_id;
42 }
43
44 public function getObjId(): int
45 {
46 return $this->obj_id;
47 }
48
49 public function getType(): string
50 {
51 return $this->type;
52 }
53}
Represents a condition target object.
__construct(int $ref_id, int $obj_id, string $obj_type)