vB_Undo_Item
in package
implements
JsonSerializable
Uses
vB_Trait_NoSerialize
AbstractYes
Table of Contents
Interfaces
- JsonSerializable
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- getClass() : string
- getData() : string
- getUndoid() : int|null
- getUserid() : int
- jsonSerialize() : mixed
- restoreFromData() : vB_Undo_Item|null
- Restore and event from stored form.
- run() : mixed
Methods
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
getClass()
public
final getClass() : string
Return values
stringgetData()
public
final getData() : string
Return values
stringgetUndoid()
public
final getUndoid() : int|null
Return values
int|nullgetUserid()
public
final getUserid() : int
Return values
intjsonSerialize()
public
jsonSerialize() : mixed
restoreFromData()
Restore and event from stored form.
public
static restoreFromData(int $undoid, string $data) : vB_Undo_Item|null
Parameters
- $undoid : int
- $data : string
-
-- The string format. This should be the result of a previous call to getData
Return values
vB_Undo_Item|nullrun()
public
abstract run() : mixed