You are here

Constants in Drupal 6

Primary tabs

Namesort descending Location Description Direct uses Strings
BLOCK_CACHE_GLOBAL modules/block/block.module The block is the same for every user on every page where it is visible. 1
BLOCK_CACHE_PER_PAGE modules/block/block.module The block can change depending on the page being viewed. 3 1
BLOCK_CACHE_PER_ROLE modules/block/block.module The block can change depending on the roles the user viewing the page belongs to. This is the default setting, used when the block does not specify anything. 3 1
BLOCK_CACHE_PER_USER modules/block/block.module The block can change depending on the user viewing the page. This setting can be resource-consuming for sites with large number of users, and thus should only be used when BLOCK_CACHE_PER_ROLE is not sufficient. 1 1
BLOCK_NO_CACHE modules/block/block.module The block should not get cached. This setting should be used: 10 1
BLOCK_REGION_NONE modules/block/block.module Denotes that a block is not enabled in any region and should not be shown. 2 1
CACHE_AGGRESSIVE includes/bootstrap.inc 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. 1 1
CACHE_DISABLED includes/bootstrap.inc Indicates that page caching is disabled. 6 1
CACHE_NORMAL includes/bootstrap.inc Indicates that page caching is enabled, using "normal" mode. 1
CACHE_PERMANENT includes/bootstrap.inc Indicates that the item should never be removed unless explicitly told to using cache_clear_all() with a cache ID. 2 1
CACHE_TEMPORARY includes/bootstrap.inc Indicates that the item should be removed at the next general cache wipe. 2 1
COMMENT_ANONYMOUS_MAYNOT_CONTACT modules/comment/comment.module Anonymous posters may not enter their contact information. 4 1
COMMENT_ANONYMOUS_MAY_CONTACT modules/comment/comment.module Anonymous posters may leave their contact information. 1 1
COMMENT_ANONYMOUS_MUST_CONTACT modules/comment/comment.module Anonymous posters must leave their contact information. 2 1
COMMENT_CONTROLS_ABOVE modules/comment/comment.module Comment controls should be shown above the comment list. 1 1
COMMENT_CONTROLS_ABOVE_BELOW modules/comment/comment.module Comment controls should be shown both above and below the comment list. 1 1
COMMENT_CONTROLS_BELOW modules/comment/comment.module Comment controls should be shown below the comment list. 1 1
COMMENT_CONTROLS_HIDDEN modules/comment/comment.module Comment controls are hidden. 5 1
COMMENT_FORM_BELOW modules/comment/comment.module Comment form should be shown below post or list of comments. 1 1
COMMENT_FORM_SEPARATE_PAGE modules/comment/comment.module Comment form should be displayed on a separate page. 5 1
COMMENT_MODE_FLAT_COLLAPSED modules/comment/comment.module Comments are displayed in a flat list - collapsed. 2 1
COMMENT_MODE_FLAT_EXPANDED modules/comment/comment.module Comments are displayed in a flat list - expanded. 2 1
COMMENT_MODE_THREADED_COLLAPSED modules/comment/comment.module Comments are displayed as a threaded list - collapsed. 1 1
COMMENT_MODE_THREADED_EXPANDED modules/comment/comment.module Comments are displayed as a threaded list - expanded. 4 1
COMMENT_NODE_DISABLED modules/comment/comment.module Comments for this node are disabled. 4 1
COMMENT_NODE_READ_ONLY modules/comment/comment.module Comments for this node are locked. 2 1
COMMENT_NODE_READ_WRITE modules/comment/comment.module Comments are enabled on this node. 8 1
COMMENT_NOT_PUBLISHED modules/comment/comment.module Comment is awaiting approval. 6 1
COMMENT_ORDER_NEWEST_FIRST modules/comment/comment.module Comments are ordered by date - newest first. 5 1
COMMENT_ORDER_OLDEST_FIRST modules/comment/comment.module Comments are ordered by date - oldest first. 1 1
COMMENT_PREVIEW_OPTIONAL modules/comment/comment.module Comment preview is optional. 1 1
COMMENT_PREVIEW_REQUIRED modules/comment/comment.module Comment preview is required. 3 1
COMMENT_PUBLISHED modules/comment/comment.module Comment is published. 14 1
DB_ERROR includes/database.inc A hash value to check when outputting database errors, md5('DB_ERROR'). 1
DB_QUERY_REGEXP includes/database.inc Indicates the place holders that should be replaced in _db_query_callback(). 8 1
DRUPAL_ANONYMOUS_RID includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table. 5 1
DRUPAL_AUTHENTICATED_RID includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table. 6 1
DRUPAL_BOOTSTRAP_ACCESS includes/bootstrap.inc Fourth bootstrap phase: identify and reject banned hosts. 1 1
DRUPAL_BOOTSTRAP_CONFIGURATION includes/bootstrap.inc First bootstrap phase: initialize configuration. 3 1
DRUPAL_BOOTSTRAP_DATABASE includes/bootstrap.inc Third bootstrap phase: initialize database layer. 2 1
DRUPAL_BOOTSTRAP_EARLY_PAGE_CACHE includes/bootstrap.inc Second bootstrap phase: try to call a non-database cache fetch routine. 1 1
DRUPAL_BOOTSTRAP_FULL includes/bootstrap.inc Final bootstrap phase: Drupal is fully loaded; validate and fix input data. 7 1
DRUPAL_BOOTSTRAP_LANGUAGE includes/bootstrap.inc Seventh bootstrap phase: find out language of the page. 1 1
DRUPAL_BOOTSTRAP_LATE_PAGE_CACHE includes/bootstrap.inc Sixth bootstrap phase: load bootstrap.inc and module.inc, start the variable system and try to serve a page from the cache. 1 1
DRUPAL_BOOTSTRAP_PATH includes/bootstrap.inc Eighth bootstrap phase: set $_GET['q'] to Drupal path of request. 2 1
DRUPAL_BOOTSTRAP_SESSION includes/bootstrap.inc Fifth bootstrap phase: initialize session handling. 1 1
DRUPAL_CORE_COMPATIBILITY modules/system/system.module Core API compatibility. 4 1
DRUPAL_MAXIMUM_TEMP_FILE_AGE modules/system/system.module Maximum age of temporary files in seconds. 1 1
DRUPAL_MINIMUM_MYSQL modules/system/system.module Minimum supported version of MySQL, if it is used. 2 1
DRUPAL_MINIMUM_PGSQL modules/system/system.module Minimum supported version of PostgreSQL, if it is used. 1 1

Pages

Other projects