aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/docs/hook_system.html
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-07-10 01:05:54 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-07-10 01:05:54 +0200
commitc58b09e65d428b53d2e69abf00c5847829f18fc7 (patch)
tree7f2fb64bce1f71e90bd7ca43bd8752db4712254f /phpBB/docs/hook_system.html
parentae53623230a45eeedf50cc3f6220164d8cd256c3 (diff)
downloadforums-c58b09e65d428b53d2e69abf00c5847829f18fc7.tar
forums-c58b09e65d428b53d2e69abf00c5847829f18fc7.tar.gz
forums-c58b09e65d428b53d2e69abf00c5847829f18fc7.tar.bz2
forums-c58b09e65d428b53d2e69abf00c5847829f18fc7.tar.xz
forums-c58b09e65d428b53d2e69abf00c5847829f18fc7.zip
[feature/template-engine] Remove $include_once argument of display()
PHPBB3-9726
Diffstat (limited to 'phpBB/docs/hook_system.html')
-rw-r--r--phpBB/docs/hook_system.html4
1 files changed, 2 insertions, 2 deletions
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; }
<p><code>phpbb_user_session_handler();</code> which is called within user::setup after the session and the user object is correctly initialized.<br />
<code>append_sid($url, $params = false, $is_amp = true, $session_id = false);</code> which is called for building urls (appending the session id)<br />
-<code>$template-&gt;display($handle, $include_once = true);</code> which is called directly before outputting the (not-yet-compiled) template.<br />
+<code>$template-&gt;display($handle, $template);</code> which is called directly before outputting the (not-yet-compiled) template.<br />
<code>exit_handler();</code> which is called at the very end of phpBB3's execution.</p>
-<p>Please note: The <code>$template-&gt;display</code> hook takes a third <code>$template</code> argument, which is the template instance being used, which should be used instead of the global.</p>
+<p>Please note: The <code>$template-&gt;display</code> hook takes a <code>$template</code> argument, which is the template instance being used, which should be used instead of the global.</p>
<p>There are also valid external constants you may want to use if you embed phpBB3 into your application:</p>