ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilUserCertificatePresentation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 {
26  private int $objId;
27  private string $objType;
29  private string $objectTitle;
30  private string $objectDescription;
31  private string $userName;
32 
33  public function __construct(
34  int $objId,
35  string $objType,
36  ?ilUserCertificate $userCertificate,
37  string $objectTitle,
38  string $objectDescription,
39  string $userName = ''
40  ) {
41  $this->objId = $objId;
42  $this->objType = $objType;
43  $this->userCertificate = $userCertificate;
44  $this->objectTitle = $objectTitle;
45  $this->objectDescription = $objectDescription;
46  $this->userName = $userName;
47  }
48 
49  public function getObjId(): int
50  {
51  return $this->objId;
52  }
53 
54  public function getObjType(): string
55  {
56  return $this->objType;
57  }
58 
60  {
62  }
63 
64  public function getObjectTitle(): string
65  {
66  return $this->objectTitle;
67  }
68 
69  public function getObjectDescription(): string
70  {
72  }
73 
74  public function getUserName(): string
75  {
76  return $this->userName;
77  }
78 }
__construct(int $objId, string $objType, ?ilUserCertificate $userCertificate, string $objectTitle, string $objectDescription, string $userName='')