1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/template-engine] Use template engine class in bbcode class.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-08-07 19:26:28 -04:00
parent db257956aa
commit df46a576e9
2 changed files with 19 additions and 17 deletions

View File

@@ -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;
}
}