SearchResult
in package
implements
JsonSerializable
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $data : array<string|int, mixed>
- $ident : string
- $instance : string
- $type : int
- __construct() : mixed
- SearchResult constructor.
- getData() : array<string|int, mixed>
- getIdent() : string
- getInstance() : string
- getType() : int
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setData() : mixed
- setIdent() : mixed
- setInstance() : mixed
- setType() : mixed
Properties
$data
private
array<string|int, mixed>
$data
= []
$ident
private
string
$ident
$instance
private
string
$instance
= ''
$type
private
int
$type
Methods
__construct()
SearchResult constructor.
public
__construct([string $ident = '' ], int $type[, string $instance = '' ][, array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $ident : string = ''
- $type : int
- $instance : string = ''
- $data : array<string|int, mixed> = []
Return values
mixed —getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getIdent()
public
getIdent() : string
Return values
string —getInstance()
public
getInstance() : string
Return values
string —getType()
public
getType() : int
Return values
int —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setData()
public
setData(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
Return values
mixed —setIdent()
public
setIdent(string $ident) : mixed
Parameters
- $ident : string
Return values
mixed —setInstance()
public
setInstance(string $instance) : mixed
Parameters
- $instance : string
Return values
mixed —setType()
public
setType(int $type) : mixed
Parameters
- $type : int