diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 06:16:33 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 06:16:33 +0000 |
commit | a5d5c6aa4b3eaccb879302cbb868d09a3e5281ff (patch) | |
tree | f93e8f35d6bfe166f197d357cd260dcf5d541696 | |
parent | 27db2cb8b5c35fea243da11ac6dbd80a54cabbcf (diff) | |
download | brdo-a5d5c6aa4b3eaccb879302cbb868d09a3e5281ff.tar.gz brdo-a5d5c6aa4b3eaccb879302cbb868d09a3e5281ff.tar.bz2 |
#102602: Even more documentation for constants (webchick)
-rw-r--r-- | includes/bootstrap.inc | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index b640e5c68..7ce39c49c 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1,4 +1,4 @@ -<?php +_<?php // $Id$ /** @@ -6,11 +6,32 @@ * 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); + +/** + * Indicates that the item should be removed at the next general cache wipe. + */ define('CACHE_TEMPORARY', -1); +/** + * Indicates that page caching is disabled. + */ define('CACHE_DISABLED', 0); + +/** + * Indicates that page caching is enabled, using "normal" mode. + */ 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); /** |