Transcript
in package
Uses
SerializableImplementation
The transcript is used for the session to log the individual accesses.
Tags
Table of Contents
Properties
- $hasAssociatedProperties : boolean
- $hasVolatileProperties : boolean
- $timestamp : DateTime
Methods
- __construct() : mixed
- Neues Transcript-Objekt erstellen
- __serialize() : array<string|int, mixed>
- Serialization of the object and data. In the serialized object also stores meta-information for matching.
- __unserialize() : void
- getTimestamp() : DateTime
- Holt den Zeitstempel des Eintrages
- hasAssociatedProperties() : boolean
- Check if the object has associative properties
- hasVolatileProperties() : boolean
- Prüfen ob das Objekt volatile Eigenschaften besitzt
- checkAndAdjustSerialisation() : array<string|int, mixed>
- Dealing with versions
Properties
$hasAssociatedProperties
protected
boolean
$hasAssociatedProperties
= null
(nur initialisiert, wenn Serialisierung erfolgte)
$hasVolatileProperties
protected
boolean
$hasVolatileProperties
= null
(nur initialisiert, wenn Serialisierung erfolgte)
$timestamp
protected
DateTime
$timestamp
= null
Zeitstempel
Methods
__construct()
Neues Transcript-Objekt erstellen
public
__construct() : mixed
__serialize()
Serialization of the object and data. In the serialized object also stores meta-information for matching.
public
__serialize() : array<string|int, mixed>
If a derived class is not to be serializable, then this * method must be overridden and throw an exception. this method must be overridden and throw an exception.
Properties starting with volatile or associated. are handled separately. Properties with prefix volatile are not serialized. For properties with the prefix associated, only the * ID of the object is serialized. ID of the object is serialized. If no object is stored in the property is stored in the property, a TypeException is thrown.
Tags
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
Tags
getTimestamp()
Holt den Zeitstempel des Eintrages
public
getTimestamp() : DateTime
Return values
DateTime —Zeitstempel
hasAssociatedProperties()
Check if the object has associative properties
public
hasAssociatedProperties() : boolean
Tags
Return values
booleanhasVolatileProperties()
Prüfen ob das Objekt volatile Eigenschaften besitzt
public
hasVolatileProperties() : boolean
Tags
Return values
booleancheckAndAdjustSerialisation()
Dealing with versions
protected
checkAndAdjustSerialisation(array $serialization) : array<string|int, mixed>
This method checks an object and ideally repairs older copies. If an old copy cannot be restored be restored, an exception is thrown.
This method must be overridden by the derived classes. be overridden. In the derived class, * the parent method should be called. the parent method should be called.
Parameters
- $serialization : array
-
Daten des serialisiertes Objekts