Grid_Cache

Handles the caching for document grids.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

GRID_CACHE_EXPIRY  = DAY_IN_SECONDS
$args  : mixed
$id  : mixed
$query  : mixed
__construct()  : mixed
Constructor.
add_grid()  : mixed
Add a Grid to the cache.
get_grid()  : false|Document_Grid
Retrieve a Grid from the cache.
update_grid()  : mixed
Update a Grid in the cache.
get_grid_cache_key()  : mixed
Get the Grid cache key.

Constants

GRID_CACHE_EXPIRY

public mixed GRID_CACHE_EXPIRY = DAY_IN_SECONDS
Tags

Properties

Methods

add_grid()

Add a Grid to the cache.

public add_grid() : mixed
Tags
Return values
mixed

update_grid()

Update a Grid in the cache.

public update_grid([bool $update_totals = false ]) : mixed
Parameters
$update_totals : bool = false
Tags
Return values
mixed

get_grid_cache_key()

Get the Grid cache key.

private get_grid_cache_key() : mixed
Tags
Return values
mixed

Search results