ChildModel
extends ArcheApiModel
in package
Description of RPRModel
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getData() : array<string|int, mixed>
- getRootType() : string
- Fetch the root type to we can generate the child template
- setSqlTimeout() : mixed
- Set the sql execution max time
- closeDBConnection() : mixed
- setActiveConnection() : mixed
- Allow the DB connection
- formatTypeFilter() : void
Properties
$config
protected
mixed
$config
$drupalDb
protected
mixed
$drupalDb
$repoDb
protected
mixed
$repoDb
$siteLang
protected
mixed
$siteLang
= "en"
$sqlTypes
private
mixed
$sqlTypes
= ""
Methods
__construct()
public
__construct() : mixed
getData()
public
getData(string $repoid, array<string|int, mixed> $sqlTypes, int $offset, int $limit[, string $search = "" ][, int $orderby = 1 ][, string $order = 'asc' ][, string $lang = "en" ]) : array<string|int, mixed>
Parameters
- $repoid : string
- $sqlTypes : array<string|int, mixed>
- $offset : int
- $limit : int
- $search : string = ""
- $orderby : int = 1
- $order : string = 'asc'
- $lang : string = "en"
Return values
array<string|int, mixed>getRootType()
Fetch the root type to we can generate the child template
public
getRootType(string $repoid) : string
Parameters
- $repoid : string
Return values
stringsetSqlTimeout()
Set the sql execution max time
public
setSqlTimeout([string $timeout = '7000' ]) : mixed
Parameters
- $timeout : string = '7000'
closeDBConnection()
protected
closeDBConnection() : mixed
setActiveConnection()
Allow the DB connection
protected
setActiveConnection() : mixed
formatTypeFilter()
private
formatTypeFilter(array<string|int, mixed> $sqlTypes) : void
Parameters
- $sqlTypes : array<string|int, mixed>