GetDataApiModel
extends MainApiModel
in package
Description of OrganisationsModel
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getData() : array<string|int, mixed>
- setSqlTimeout() : mixed
- Set the sql execution max time
- changeBackDBConnection() : mixed
- setActiveConnection() : mixed
- Allow the DB connection
Properties
$config
protected
mixed
$config
$repo
protected
mixed
$repo
$repodb
protected
mixed
$repodb
Methods
__construct()
public
__construct() : mixed
getData()
public
getData(string $searchStr, string $type) : array<string|int, mixed>
Parameters
- $searchStr : string
- $type : string
Return values
array<string|int, mixed>setSqlTimeout()
Set the sql execution max time
public
setSqlTimeout([string $timeout = '7000' ]) : mixed
Parameters
- $timeout : string = '7000'
changeBackDBConnection()
protected
changeBackDBConnection() : mixed
setActiveConnection()
Allow the DB connection
protected
setActiveConnection() : mixed