C:/drupal/includes/cache-install.inc File Reference

Go to the source code of this file.


Functions

 cache_get ($key, $table= 'cache')
 cache_set ($cid, $data, $table= 'cache', $expire=CACHE_PERMANENT, $headers=NULL)
 cache_clear_all ($cid=NULL, $table=NULL, $wildcard=FALSE)


Function Documentation

cache_clear_all ( cid = NULL,
table = NULL,
wildcard = FALSE 
)

cache_get ( key,
table = 'cache' 
)

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.

Definition at line 14 of file cache-install.inc.

Referenced by _theme_load_registry(), book_form_update(), drupal_get_schema(), form_get_cache(), menu_router_build(), menu_tree_all_data(), menu_tree_page_data(), page_get_cache(), registry_get_hook_implementations_cache(), registry_load_path_files(), update_project_cache(), and variable_init().

cache_set ( cid,
data,
table = 'cache',
expire = CACHE_PERMANENT,
headers = NULL 
)


Generated on Mon Jun 2 15:07:59 2008 for SimpleTest by  1.5.5