aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-08-07 19:26:28 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-08-07 19:26:28 -0400
commitdf46a576e952881df963dcc03daede58dfb98927 (patch)
tree8581a464c69364f0ff0a2b6246f48017577d69fe /phpBB/includes/template
parentdb257956aa02a2533577a4e4081c2502dbd3ee00 (diff)
downloadforums-df46a576e952881df963dcc03daede58dfb98927.tar
forums-df46a576e952881df963dcc03daede58dfb98927.tar.gz
forums-df46a576e952881df963dcc03daede58dfb98927.tar.bz2
forums-df46a576e952881df963dcc03daede58dfb98927.tar.xz
forums-df46a576e952881df963dcc03daede58dfb98927.zip
[feature/template-engine] Use template engine class in bbcode class.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/template.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php
index 5ac9a32724..71fecc7d26 100644
--- a/phpBB/includes/template/template.php
+++ b/phpBB/includes/template/template.php
@@ -493,4 +493,17 @@ class phpbb_template
}
include($file);
}
+
+ /**
+ * Retrieves the template locator object.
+ *
+ * This function is public for the benefit of bbcode implementation.
+ * It should not be considered part of template class's public API.
+ *
+ * @return phpbb_template_locator Template locator for this template
+ */
+ public function _get_locator()
+ {
+ return $this->locator;
+ }
}