Table of Contents

nsVarCache

Members

fields

    protected $fields = array();

Methods

Constructor

    public function __construct($cbLoad);

loadValue

    abstract public function loadValue($field);

storeValue

    abstract public function storeValue($field, $value);

preload

  abstract public function preload($fields);
Preloads an array of variables. This is good to be used when cache storage is database to minimize number of queries. This function does not guarantee that all variables are loaded from cache.

gc

  abstract public function gc();
Garbage collector. When this function is called all expired variables should be deleted.

getField

    abstract public function getField($field);

setField

    abstract public function setField($field);