Documentation

BexioJSONCache

Table of Contents

Properties

$bxcache  : mixed

Methods

_cmp_value()  : mixed
query_cache()  : Generator
Search cache a bit like it would be done on real server
read_cache()  : array<string|int, mixed>
search_cache()  : Generator
store_cache()  : mixed

Properties

Methods

_cmp_value()

public _cmp_value(mixed $op, mixed $v1[, mixed $v2 = '' ]) : mixed
Parameters
$op : mixed
$v1 : mixed
$v2 : mixed = ''

query_cache()

Search cache a bit like it would be done on real server

public query_cache(string $collection, array<string|int, mixed> $query[, bool $use_or = false ]) : Generator
Parameters
$collection : string
$query : array<string|int, mixed>
$use_or : bool = false
Return values
Generator

read_cache()

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

search_cache()

public search_cache(mixed $collection, mixed $reference) : Generator
Parameters
$collection : mixed
$reference : mixed
Return values
Generator

store_cache()

public store_cache(string $reference, string $content, int $items) : mixed
Parameters
$reference : string
$content : string
$items : int

        
On this page

Search results