ILIAS  release_8 Revision v8.24
class.ilConditionTarget.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/******************************************************************************
6 *
7 * This file is part of ILIAS, a powerful learning management system
8 * published by ILIAS open source e-Learning e.V.
9 *
10 * ILIAS is licensed with the GPL-3.0,
11 * see https://www.gnu.org/licenses/gpl-3.0.en.html
12 * You should have received a copy of said license along with the
13 * source code, too.
14 *
15 * If this is not the case or you just want to try ILIAS, you'll find
16 * us at:
17 * https://www.ilias.de
18 * https://github.com/ILIAS-eLearning
19 *
20 *****************************************************************************/
21
28{
29 protected int $ref_id;
30 protected int $obj_id;
31 protected string $type;
32
33 public function __construct(int $ref_id, int $obj_id, string $obj_type)
34 {
35 $this->ref_id = $ref_id;
36 $this->obj_id = $obj_id;
37 $this->type = $obj_type;
38 }
39
40 public function getRefId(): int
41 {
42 return $this->ref_id;
43 }
44
45 public function getObjId(): int
46 {
47 return $this->obj_id;
48 }
49
50 public function getType(): string
51 {
52 return $this->type;
53 }
54}
Represents a condition target object.
__construct(int $ref_id, int $obj_id, string $obj_type)