5 * Custom cache implementation for the CTools CSS cache.
8 class CToolsCssCache implements DrupalCacheInterface {
13 public function clear($cid = NULL, $wildcard = FALSE) {
14 // Only clear the caches if the wildcard is set, this ensures that the cache
15 // is only cleared when the full caches are cleared manually (eg by invoking
16 // drupal_flush_all_caches()), and not on a cron run.
17 // @see drupal_flush_all_caches()
20 ctools_include('css');
21 ctools_css_flush_caches();
28 public function get($cid) {
35 public function getMultiple(&$cids) {
42 public function isEmpty() {
49 public function set($cid, $data, $expire = CACHE_PERMANENT) {