GetDataApiObject
extends MainObject
in package
Description of GetDataApiObject
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getData() : array<string|int, mixed>
- init() : array<string|int, mixed>
- createModel() : void
- formatView() : array<string|int, mixed>
- formatSearchValues() : void
Properties
$model
protected
mixed
$model
$repo
protected
mixed
$repo
$repodb
protected
mixed
$repodb
$result
protected
mixed
$result
= array()
$str
protected
mixed
$str
= ""
$type
private
mixed
$type
Methods
__construct()
public
__construct(string $type, string $searchStr) : mixed
Parameters
- $type : string
- $searchStr : string
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>init()
public
init() : array<string|int, mixed>
Return values
array<string|int, mixed>createModel()
protected
createModel() : void
formatView()
protected
formatView(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
Return values
array<string|int, mixed>formatSearchValues()
private
formatSearchValues(string $type, string $searchStr) : void
Parameters
- $type : string
- $searchStr : string