From c58b09e65d428b53d2e69abf00c5847829f18fc7 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 10 Jul 2011 01:05:54 +0200 Subject: [feature/template-engine] Remove $include_once argument of display() PHPBB3-9726 --- phpBB/docs/hook_system.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index a5fad0d530..16774087ac 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -377,10 +377,10 @@ a:active { color: #368AD2; }

phpbb_user_session_handler(); which is called within user::setup after the session and the user object is correctly initialized.
append_sid($url, $params = false, $is_amp = true, $session_id = false); which is called for building urls (appending the session id)
-$template->display($handle, $include_once = true); which is called directly before outputting the (not-yet-compiled) template.
+$template->display($handle, $template); 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.

+

Please note: The $template->display hook takes a $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