vB_Undo_Item_Unsubscribe
extends vB_Undo_Item
in package
Uses
vB_Trait_NoSerialize
Table of Contents
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- create() : self
- 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
create()
public
static create(int $userid, array<string|int, mixed> $subscribediscussion) : self
Parameters
- $userid : int
- $subscribediscussion : array<string|int, mixed>
Return values
selfgetClass()
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
run() : mixed