From 053cf790a93e9cfb521f484901d79c72783f868f Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Tue, 23 Nov 2010 16:09:09 +0100 Subject: [ticket/9924] Pass template instance into $template->display hook PHPBB3-9924 --- phpBB/docs/hook_system.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index 1bf4630a9f..34055c4661 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -380,6 +380,8 @@ a:active { color: #368AD2; } $template->display($handle, $include_once = true); which is called directly before outputting the (not-yet-compiled) template.
exit_handler(); which is called at the very end of phpBB3's execution.

+

Please note: The $template->display hook takes a third $template argument, which is the template instance being used, which should be used instead of the global.

+

There are also valid external constants you may want to use if you embed phpBB3 into your application:

-- 
cgit v1.2.1