ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilTestObjectiveOrientedContainer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
28{
32 private $objId;
33
37 private $refId;
38
39 public function __construct()
40 {
41 $this->objId = null;
42 $this->refId = null;
43 }
44
48 public function getObjId(): ?int
49 {
50 return $this->objId;
51 }
52
56 public function setObjId($objId)
57 {
58 $this->objId = $objId;
59 }
60
64 public function getRefId(): ?int
65 {
66 return $this->refId;
67 }
68
72 public function setRefId($refId)
73 {
74 $this->refId = $refId;
75 }
76
81 {
82 return (bool) $this->getObjId();
83 }
84}