function views_cache_set

cis7 views_cache_set($cid, $data, $use_language = FALSE)
cle7 views_cache_set($cid, $data, $use_language = FALSE)
elmsmedia7 views_cache_set($cid, $data, $use_language = FALSE)
icor7 views_cache_set($cid, $data, $use_language = FALSE)
meedjum_blog7 views_cache_set($cid, $data, $use_language = FALSE)
mooc7 views_cache_set($cid, $data, $use_language = FALSE)

Set a cached item in the views cache.

This is just a convenience wrapper around cache_set().


$cid: The cache ID of the data to store.

$data: The data to store in the cache. Complex data types will be automatically serialized before insertion. Strings will be stored as plain text and not serialized.

$use_language: If TRUE, the data will be cached specific to the currently active language.

7 calls to views_cache_set()
entity_views_plugins in sites/all/modules/ulmus/entity/views/
Implements hook_views_plugins().
eva_get_views in sites/all/modules/ulmus/eva/eva.module
Get a list of views and displays attached to speficic entities.
views_block_info in sites/all/modules/ulmus/views/views.module
Implement hook_block_info().
views_content_views_content_type_content_types in sites/all/modules/ulmus/ctools/views_content/plugins/content_types/
Return all content types available.
views_content_views_panes_content_type_content_types in sites/all/modules/ulmus/ctools/views_content/plugins/content_types/
Return all content types available.

... See full list


sites/all/modules/ulmus/views/includes/, line 158
Load Views' data so that it knows what is available to build queries from.


function views_cache_set($cid, $data, $use_language = FALSE) {
  global $language;

  if (variable_get('views_skip_cache', FALSE)) {
  if ($use_language) {
    $cid .= ':' . $language->language;

  cache_set($cid, $data, 'cache_views');



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.