ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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{
13
17 private $objectTitle;
18
23
27 private $userName;
28
35 public function __construct(
37 string $objectTitle,
38 string $objectDescription,
39 string $userName = ''
40 ) {
41 $this->userCertificate = $userCertificate;
42 $this->objectTitle = $objectTitle;
43 $this->objectDescription = $objectDescription;
44 $this->userName = $userName;
45 }
46
51 {
53 }
54
58 public function getObjectTitle() : string
59 {
60 return $this->objectTitle;
61 }
62
66 public function getObjectDescription() : string
67 {
69 }
70
74 public function getUserName() : string
75 {
76 return $this->userName;
77 }
78}
An exception for terminatinating execution or to throw for unit testing.
__construct(ilUserCertificate $userCertificate, string $objectTitle, string $objectDescription, string $userName='')