Definition

drupal_page_footer()
drupal-5/includes/common.inc, line 1294

Description

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

Namesort iconDescription
Input validationFunctions to validate user input.

Code

<?php
function drupal_page_footer() {
  if (variable_get('cache', 0)) {
    page_set_cache();
  }

  module_invoke_all('exit');
}
?>