You are here

function cache_get in Drupal 6

Same name in this branch
  1. 6 includes/cache.inc \cache_get()
  2. 6 includes/cache-install.inc \cache_get()
Same name and namespace in other branches
  1. 4 includes/bootstrap.inc \cache_get()
  2. 5 includes/cache.inc \cache_get()
  3. 7 includes/cache.inc \cache_get()

A stub cache implementation to be used during the installation process when database access is not yet available. Because Drupal's caching system never requires that cached data be present, these stub functions can short-circuit the process and sidestep the need for any persistent storage. Obviously, using this cache implementation during normal operations would have a negative impact on performance.

11 calls to cache_get()
block_list in modules/block/block.module
Return all blocks in the specified region for the current user.
book_menu_subtree_data in modules/book/book.module
Get the data representing a subtree of the book hierarchy.
check_markup in modules/filter/filter.module
Run all the enabled filters on a piece of text.
drupal_get_schema in includes/common.inc
Get the schema definition of a table, or the whole database schema.
form_get_cache in includes/form.inc
Fetch a form from cache.

... See full list

File

includes/cache-install.inc, line 13

Code

function cache_get($key, $table = 'cache') {
  return FALSE;
}