知識社群登入
bootstrap.inc
by 蘇德宙, 2011-04-30 14:18, 人氣(1657)
1. constant define
 
2. function
timer_start($name)
timer_read($name)
timer_stop($name)
conf_path($require_settings = TRUE, $reset = FALSE)
drupal_unset_globals()
drupal_valid_http_host($host)
conf_init()
drupal_get_filename($type, $name, $filename = NULL)
 
variable_init($conf = array())
variable_get($name, $default)
variable_set($name, $value)
variable_del($name) 
 
page_get_cache($status_only = FALSE)
bootstrap_invoke_all($hook)
drupal_load($type, $name)
 
drupal_page_header()
drupal_page_cache_header($cache)
 
bootstrap_hooks()
drupal_unpack($obj, $field = 'data')
referer_uri()
 
check_plain($text)
drupal_validate_utf8($text)
request_uri()
watchdog($type, $message, $variables = array(), $severity = WATCHDOG_NOTICE, $link = NULL)
drupal_set_message($message = NULL, $type = 'status', $repeat = TRUE)
drupal_get_messages($type = NULL, $clear_queue = TRUE)
drupal_is_denied($type, $mask)
drupal_anonymous_user($session = '')
drupal_bootstrap($phase)
_drupal_bootstrap($phase)
drupal_maintenance_theme()
get_t()
drupal_init_language()
language_list($field = 'language', $reset = FALSE)
language_default($property = NULL)
ip_address()