You are here

function panels_simple_cache_set_cache in Panels 6.3

Same name and namespace in other branches
  1. 5.2 panels_simple_cache/panels_simple_cache.module \panels_simple_cache_set_cache()
  2. 6.2 panels_simple_cache/panels_simple_cache.module \panels_simple_cache_set_cache()
  3. 7.3 plugins/cache/simple.inc \panels_simple_cache_set_cache()

Set cached content.

1 string reference to 'panels_simple_cache_set_cache'
simple.inc in plugins/cache/simple.inc
Provides a simple time-based caching option for panel panes.

File

plugins/cache/simple.inc, line 43
Provides a simple time-based caching option for panel panes.

Code

function panels_simple_cache_set_cache($conf, $content, $display, $args, $contexts, $pane = NULL) {
  $cid = panels_simple_cache_get_id($conf, $display, $args, $contexts, $pane);
  cache_set($cid, $content, 'cache_panels');
}