[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/views/includes/ -> cache.inc (summary)

(no description)

File Size: 293 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  _views_include_handlers()
  _views_include_default_views()
  _views_fetch_data()
  _views_fetch_plugin_data()
  _views_discover_default_views()
  views_cache_set()
  views_cache_get()
  views_object_cache_get()
  views_object_cache_set()
  views_object_cache_clear()
  views_object_cache_clean()

Functions
Functions that are not part of a class:

_views_include_handlers()   X-Ref
Load views files on behalf of modules.


_views_include_default_views()   X-Ref
Load default views files on behalf of modules.


_views_fetch_data($table = NULL)   X-Ref
Fetch Views' data from the cache


_views_fetch_plugin_data($type = NULL, $plugin = NULL)   X-Ref
Fetch the plugin data from cache.


_views_discover_default_views()   X-Ref
Scan all modules for default views and rebuild the default views cache.

return: An associative array of all known default views.

views_cache_set($cid, $data, $use_language = FALSE)   X-Ref
Set a cached item in the views cache.

This is just a convenience wrapper around cache_set().

param: $cid
param: $data
param: $use_language

views_cache_get($cid, $use_language = FALSE)   X-Ref
Return data from the persistent views cache.

This is just a convenience wrapper around cache_get().

param: $cid
param: $use_language

views_object_cache_get($obj, $name, $skip_cache = FALSE)   X-Ref
Get an object from the non-volatile Views cache.

This function caches in memory as well, so that multiple calls to this
will not result in multiple database reads.

param: $obj
param: $name
param: $skip_cache
return:

views_object_cache_set($obj, $name, $cache)   X-Ref
Store an object in the non-volatile Views cache.

param: $obj
param: $name
param: $cache

views_object_cache_clear($obj, $name)   X-Ref
Remove an object from the non-volatile Views cache

param: $obj
param: $name

views_object_cache_clean($age = NULL)   X-Ref
Remove all objects in the object cache that are older than the
specified age.

param: $age



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7