function hook_exit

Allows each module to execute code when the FlightPath page is completely finished.

Be aware that theming and themable functions will not work, since this hook is called after the page has been completely rendered. If you need to output debug statements for yourself, use echo or print, and it will be at the BOTTOM of the page.

See also

hook_init

File

includes/hook.api.php, line 286
Lists all available hooks within FlightPath's core code.

Code

function hook_exit() {
  // ex: Close outside db connections
  // ex:  print "Time for page to load:" . $ctime;
}