Documentation

All
in package
uses GraphQL

Table of Contents

Properties

$filter  : array<string|int, mixed>
$http  : Client|null
$search  : string
$tableId  : int

Methods

__construct()  : mixed
get()  : mixed
getGQL()  : GQL
request()  : object
firstPage()  : mixed
getCache()  : mixed
load()  : mixed
nextPage()  : mixed
setCache()  : mixed

Properties

$filter

private array<string|int, mixed> $filter = []

$http

private Client|null $http = null
private string $search

$tableId

private int $tableId

Methods

__construct()

public __construct(int $tableId[, string $search = "" ]) : mixed
Parameters
$tableId : int
$search : string = ""

get()

public get() : mixed

getGQL()

public getGQL(mixed $name) : GQL
Parameters
$name : mixed
Return values
GQL

request()

public request(GQL $gql) : object
Parameters
$gql : GQL
Return values
object

firstPage()

private firstPage() : mixed

getCache()

private getCache(string $cacheId) : mixed
Parameters
$cacheId : string

load()

private load(int $tableId) : mixed
Parameters
$tableId : int

nextPage()

private nextPage(string $nextCursor) : mixed
Parameters
$nextCursor : string

setCache()

private setCache(mixed $cacheId, mixed $response) : mixed
Parameters
$cacheId : mixed
$response : mixed

        
On this page

Search results