ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NullPluginIdentification.php
Go to the documentation of this file.
2
9{
10
14 private $internal_identifier = "unknown";
18 private $identification = "unknown";
22 private $plugin_id = "unknown";
23
24
32 public function __construct(string $plugin_id, string $identification = "", string $internal_identifier = "")
33 {
34 $this->plugin_id = $plugin_id;
35 $this->identification = $identification;
36 $this->internal_identifier = $internal_identifier;
37 }
38
39
43 public function serialize()
44 {
46 }
47
48
52 public function unserialize($serialized)
53 {
54 return;
55 }
56
57
61 public function getClassName() : string
62 {
63 return $this->plugin_id;
64 }
65
66
70 public function getInternalIdentifier() : string
71 {
73 }
74
75
79 public function getProviderNameForPresentation() : string
80 {
81 return $this->plugin_id;
82 }
83}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $plugin_id, string $identification="", string $internal_identifier="")
NullPluginIdentification constructor.