Commit a5d5c6aa authored by Steven Wittens's avatar Steven Wittens
Browse files

#102602: Even more documentation for constants (webchick)

parent 27db2cb8
<?php _<?php
// $Id$ // $Id$
/** /**
...@@ -6,11 +6,32 @@ ...@@ -6,11 +6,32 @@
* Functions that need to be loaded on every Drupal request. * Functions that need to be loaded on every Drupal request.
*/ */
/**
* Indicates that the item should never be removed unless explicitly told to
* using cache_clear_all() with a cache ID.
*/
define('CACHE_PERMANENT', 0); define('CACHE_PERMANENT', 0);
/**
* Indicates that the item should be removed at the next general cache wipe.
*/
define('CACHE_TEMPORARY', -1); define('CACHE_TEMPORARY', -1);
/**
* Indicates that page caching is disabled.
*/
define('CACHE_DISABLED', 0); define('CACHE_DISABLED', 0);
/**
* Indicates that page caching is enabled, using "normal" mode.
*/
define('CACHE_NORMAL', 1); define('CACHE_NORMAL', 1);
/**
* Indicates that page caching is using "aggressive" mode. This bypasses
* loading any modules for additional speed, which may break functionality in
* modules that expect to be run on each page load.
*/
define('CACHE_AGGRESSIVE', 2); define('CACHE_AGGRESSIVE', 2);
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment