vBulletin v6.0.4

vB_Entity
in package
implements JsonSerializable Uses vB_Trait_NoSerialize

AbstractYes

Table of Contents

Interfaces

JsonSerializable

Methods

__get()  : mixed
__serialize()  : array<string|int, mixed>
__set()  : void
__sleep()  : array<string|int, mixed>
__unserialize()  : void
__wakeup()  : void
createFromArray()  : static
jsonDecode()  : vB_Entity
Accept a json string and converts it back to an object instance. The string is intended to be an output from a json_encode($originalEntity->jsonSerialize(), true) call.
jsonSerialize()  : mixed
toArray()  : array<string|int, mixed>

Methods

__get()

public final __get(string $name) : mixed
Parameters
$name : string

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__set()

public final __set(string $name, mixed $value) : void
Parameters
$name : string
$value : 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>

createFromArray()

public abstract static createFromArray(array<string|int, mixed> $dbrecord) : static
Parameters
$dbrecord : array<string|int, mixed>
Return values
static

jsonDecode()

Accept a json string and converts it back to an object instance. The string is intended to be an output from a json_encode($originalEntity->jsonSerialize(), true) call.

public final static jsonDecode(string $json) : vB_Entity
Parameters
$json : string
Return values
vB_Entity

jsonSerialize()

public final jsonSerialize() : mixed

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results