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
$bxcache
protected
mixed
$bxcache
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
Generatorread_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
Generatorstore_cache()
public
store_cache(string $reference, string $content, int $items) : mixed
Parameters
- $reference : string
- $content : string
- $items : int