ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilUserCertificatePresentation.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8{
12 private $objId;
13
17 private $objType;
18
23
27 private $objectTitle;
28
33
37 private $userName;
38
48 public function __construct(
49 int $objId,
50 string $objType,
52 string $objectTitle,
53 string $objectDescription,
54 string $userName = ''
55 ) {
56 $this->objId = $objId;
57 $this->objType = $objType;
58 $this->userCertificate = $userCertificate;
59 $this->objectTitle = $objectTitle;
60 $this->objectDescription = $objectDescription;
61 $this->userName = $userName;
62 }
63
67 public function getObjId() : int
68 {
69 return $this->objId;
70 }
71
75 public function getObjType() : string
76 {
77 return $this->objType;
78 }
79
84 {
86 }
87
91 public function getObjectTitle() : string
92 {
93 return $this->objectTitle;
94 }
95
99 public function getObjectDescription() : string
100 {
102 }
103
107 public function getUserName() : string
108 {
109 return $this->userName;
110 }
111}
An exception for terminatinating execution or to throw for unit testing.
__construct(int $objId, string $objType, ?ilUserCertificate $userCertificate, string $objectTitle, string $objectDescription, string $userName='')
ilUserCertificatePresentation constructor.