ILIAS  release_7 Revision v7.30-3-g800a261c036
LostIdentification.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
33
38 public function __construct(string $serialized_string = null)
39 {
40 $this->serialized_string = $serialized_string;
41 }
42
46 public function serialize() : string
47 {
49 }
50
54 public function unserialize($serialized) : void
55 {
56 }
57
61 public function getClassName() : string
62 {
63 return "Lost";
64 }
65
69 public function getInternalIdentifier() : string
70 {
71 return "Lost";
72 }
73
77 public function getProviderNameForPresentation() : string
78 {
79 return "Lost";
80 }
81
85 public function __serialize() : array
86 {
87 return ['data' => $this->serialize()];
88 }
89
90 public function __unserialize(array $data) : void
91 {
92 $this->unserialize($data['data']);
93 }
94}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $serialized_string=null)
NullIdentification constructor.
$data
Definition: storeScorm.php:23