onOffice WP Plugin

DBCache
in package
implements onOfficeSDKCache

Interfaces, Classes, Traits and Enums

onOfficeSDKCache

Table of Contents

$_options  : array<string|int, mixed>
$_pWpdb  : wpdb
__construct()  : mixed
cleanup()  : mixed
clearAll()  : mixed
getHttpResponseByParameterArray()  : string
write()  : bool
getCacheMaxAge()  : int
getParametersHashed()  : string
getParametersSerialized()  : string

Properties

$_options

private array<string|int, mixed> $_options = array()

Methods

__construct()

public __construct(array<string|int, mixed> $options) : mixed
Parameters
$options : array<string|int, mixed>
Tags
global

wpdb $wpdb

Return values
mixed

cleanup()

public cleanup() : mixed
Return values
mixed

clearAll()

public clearAll() : mixed
Return values
mixed

getHttpResponseByParameterArray()

public getHttpResponseByParameterArray(array<string|int, mixed> $parameters) : string
Parameters
$parameters : array<string|int, mixed>
Return values
string

write()

public write(array<string|int, mixed> $parameters, string $value) : bool
Parameters
$parameters : array<string|int, mixed>
$value : string
Return values
bool

getCacheMaxAge()

private getCacheMaxAge() : int
Return values
int

UNIX Timestamp

getParametersHashed()

private getParametersHashed(array<string|int, mixed> $parameters) : string
Parameters
$parameters : array<string|int, mixed>
Return values
string

getParametersSerialized()

private getParametersSerialized(array<string|int, mixed> $parameters) : string
Parameters
$parameters : array<string|int, mixed>
Return values
string

Search results