ILIAS  release_8 Revision v8.24
NullPluginIdentification.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
29 private string $internal_identifier;
30 private string $identification;
31 private string $plugin_id;
32
39 public function __construct(string $plugin_id, string $identification = "", string $internal_identifier = "")
40 {
41 $this->plugin_id = $plugin_id;
42 $this->identification = $identification;
43 $this->internal_identifier = $internal_identifier;
44 }
45
49 public function serialize(): string
50 {
52 }
53
57 public function unserialize($serialized): void
58 {
59 // nothing to do
60 }
61
65 public function getClassName(): string
66 {
67 return $this->plugin_id;
68 }
69
73 public function getInternalIdentifier(): string
74 {
76 }
77
81 public function getProviderNameForPresentation(): string
82 {
83 return $this->plugin_id;
84 }
85
89 public function __serialize(): array
90 {
91 return ['data' => $this->serialize()];
92 }
93
94 public function __unserialize(array $data): void
95 {
96 $this->unserialize($data['data']);
97 }
98}
__construct(string $plugin_id, string $identification="", string $internal_identifier="")
NullPluginIdentification constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...