bootstrap.inc

Version

1.44.2.2 (checked in on 2005/11/30 at 10:05:16 by dries)

Description

Functions that need to be loaded on every Drupal request.

Constants

Namesort iconDescription
CACHE_PERMANENT
CACHE_TEMPORARY
WATCHDOG_ERROR
WATCHDOG_NOTICE
WATCHDOG_WARNING

Functions

Namesort iconDescription
argReturn a component of the current Drupal path.
bootstrap_hooksDefine the critical hooks that force modules to always be loaded.
bootstrap_invoke_allCall all init or exit hooks without including all modules.
cache_clear_allExpire data from the cache.
cache_getReturn data from the persistent cache.
cache_setStore data in the persistent cache.
check_plainEncode special characters in a plain-text string for display as HTML.
conf_initLocate the appropriate configuration file.
drupal_get_filenameReturns and optionally sets the filename for a system item (module, theme, etc.). The filename, whether provided, cached, or retrieved from the database, is only returned if the file exists.
drupal_get_messagesReturn all messages that have been set.
drupal_get_path_aliasGiven an internal Drupal path, return the alias set by the administrator.
drupal_get_path_mapReturn an array mapping path aliases to their internal Drupal paths.
drupal_get_titleGet the title of the current page, for display on the page and in the title bar.
drupal_loadIncludes a file with the provided type and name. This prevents including a theme, engine, module, etc., more than once.
drupal_page_headerSet HTTP headers in preparation for a page response.
drupal_set_messageSet a message for the user to see.
drupal_set_titleSet the title of the current page, for display on the page and in the title bar.
drupal_unpackUnserializes and appends elements from a serialized string.
page_get_cacheRetrieve the current page from the cache.
page_set_cacheStore the current page in the cache.
referer_uriReturn the URI of the referring page.
request_uriSince request_uri() is only available on Apache, we generate an equivalent using other environment vars.
timer_startBegin a global timer, for benchmarking of page execution time.
variable_delUnset a persistent variable.
variable_getReturn a persistent variable.
variable_initLoad the persistent variable table.
variable_setSet a persistent variable.
watchdogLog a system message.
 
 

Drupal is a registered trademark of Dries Buytaert.