#102602: Even more documentation for constants (webchick)
parent
27db2cb8b5
commit
a5d5c6aa4b
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
_<?php
|
||||||
// $Id$
|
// $Id$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue