function drupal_page_footer

cis7 common.inc drupal_page_footer()
cle7 common.inc drupal_page_footer()
elmsmedia7 common.inc drupal_page_footer()
icor7 common.inc drupal_page_footer()
meedjum_blog7 common.inc drupal_page_footer()
mooc7 common.inc drupal_page_footer()

Performs end-of-request tasks.

This function sets the page cache if appropriate, and allows modules to react to the closing of the page by calling hook_exit().

5 calls to drupal_page_footer()
admin_menu_deliver in sites/all/modules/ulmus/admin_menu/admin_menu.module
Delivery callback for client-side HTTP caching.
drupal_deliver_html_page in includes/common.inc
Packages and sends the result of a page callback to the browser as HTML.
restws_handle_request in sites/all/modules/ulmus/restws/restws.module
Handles a request.
restws_page_callback in sites/all/modules/ulmus/restws/restws.module
Menu page callback.
wysiwyg_deliver_dialog_page in sites/all/modules/ulmus/wysiwyg/wysiwyg.dialog.inc

File

includes/common.inc, line 2688
Common functions that many Drupal modules will need to reference.

Code

function drupal_page_footer() {
  global $user;

  module_invoke_all('exit');

  // Commit the user session, if needed.
  drupal_session_commit();

  if (variable_get('cache', 0) && ($cache = drupal_page_set_cache())) {
    drupal_serve_page_from_cache($cache);
  }
  else {
    ob_flush();
  }

  _registry_check_code(REGISTRY_WRITE_LOOKUP_CACHE);
  drupal_cache_system_paths();
  module_implements_write_cache();
  system_run_automated_cron();
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.