function drupal_page_footer in Drupal 4
Same name and namespace in other branches
- 5 includes/common.inc \drupal_page_footer()
- 6 includes/common.inc \drupal_page_footer()
- 7 includes/common.inc \drupal_page_footer()
Perform 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().
Related topics
File
- includes/
common.inc, line 1138 - Common functions that many Drupal modules will need to reference.
Code
function drupal_page_footer() {
if (variable_get('cache', 0)) {
page_set_cache();
}
module_invoke_all('exit');
}