vB_Entity_WebManifest
extends vB_Entity
in package
implements
Stringable
uses
vB_Trait_NoSerialize
Table of Contents
Interfaces
- Stringable
Properties
- $display : string
- $icons : array<string|int, mixed>
- $name : string
- $start_url : string
Methods
- __construct() : mixed
- __get() : mixed
- __serialize() : array<string|int, mixed>
- __set() : void
- __sleep() : array<string|int, mixed>
- __toString() : string
- __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>
Properties
$display
public
string
$display
$icons
public
array<string|int, mixed>
$icons
$name
public
string
$name
$start_url
public
string
$start_url
Methods
__construct()
public
__construct(string $name, array<string|int, mixed> $icons, string $start_url, string $display) : mixed
Parameters
- $name : string
- $icons : array<string|int, mixed>
- $start_url : string
- $display : string
__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>__toString()
public
__toString() : string
Return values
string__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
createFromArray()
public
static createFromArray(array<string|int, mixed> $dbrecord) : static
Parameters
- $dbrecord : array<string|int, mixed>
Return values
staticjsonDecode()
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_EntityjsonSerialize()
public
final jsonSerialize() : mixed
toArray()
public
toArray() : array<string|int, mixed>