diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-08-07 19:26:28 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-08-07 19:26:28 -0400 |
commit | df46a576e952881df963dcc03daede58dfb98927 (patch) | |
tree | 8581a464c69364f0ff0a2b6246f48017577d69fe /phpBB/includes/template | |
parent | db257956aa02a2533577a4e4081c2502dbd3ee00 (diff) | |
download | forums-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.php | 13 |
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; + } } |