Menu

Cache


Set options from cache

cache_set_options($question, $cache_object)

cache_set_options() sets the options based on the return value of the cache. Please note that you need to add these options to the output manually.


Set variables from cache

cache_set_variable($cache_object)

cache_set_variable() sets the variable based on the return value of the cache.


Find key values in cache object

find($V_cache_items, ["key", "value"], "key")

find() finds the value for the key specified in last argument, where [key, value] equals true.


Exists in cache object

exists($cache_items, ["key", "value"])

find() returns true or false whether the specified key: value pair exists in the given cache_items.

Menu