aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/docs
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-12-13 17:21:57 +0100
committerNils Adermann <naderman@naderman.de>2010-12-13 17:21:57 +0100
commit5e258a0a9021da3f9d830326f697fa05e86be877 (patch)
tree078d93d689b99495195eb9dcd82afacaec537127 /phpBB/docs
parent5d8ddc748000623b8e705b9434a4133cdd8fcc19 (diff)
parent053cf790a93e9cfb521f484901d79c72783f868f (diff)
downloadforums-5e258a0a9021da3f9d830326f697fa05e86be877.tar
forums-5e258a0a9021da3f9d830326f697fa05e86be877.tar.gz
forums-5e258a0a9021da3f9d830326f697fa05e86be877.tar.bz2
forums-5e258a0a9021da3f9d830326f697fa05e86be877.tar.xz
forums-5e258a0a9021da3f9d830326f697fa05e86be877.zip
Merge branch 'ticket/igorw/9924' into develop-olympus
* ticket/igorw/9924: [ticket/9924] Pass template instance into $template->display hook
Diffstat (limited to 'phpBB/docs')
-rw-r--r--phpBB/docs/hook_system.html2
1 files changed, 2 insertions, 0 deletions
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; }
<code>$template-&gt;display($handle, $include_once = true);</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>There are also valid external constants you may want to use if you embed phpBB3 into your application:</p>
<div class="codebox"><pre>