Documentation

ChildModel extends ArcheApiModel
in package

Description of RPRModel

Tags
author

nczirjak

Table of Contents

Properties

$config  : mixed
$drupalDb  : mixed
$repoDb  : mixed
$siteLang  : mixed
$sqlTypes  : mixed

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

Methods

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
string

setSqlTimeout()

Set the sql execution max time

public setSqlTimeout([string $timeout = '7000' ]) : mixed
Parameters
$timeout : string = '7000'

setActiveConnection()

Allow the DB connection

protected setActiveConnection() : mixed

formatTypeFilter()

private formatTypeFilter(array<string|int, mixed> $sqlTypes) : void
Parameters
$sqlTypes : array<string|int, mixed>

        
On this page

Search results