vBulletin v6.0.4

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>

getClass()

public final getClass() : string
Return values
string

getData()

public final getData() : string
Return values
string

getUndoid()

public final getUndoid() : int|null
Return values
int|null

getUserid()

public final getUserid() : int
Return values
int

jsonSerialize()

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|null

run()

public abstract run() : mixed

        
On this page

Search results