diff options
| author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-05-11 14:10:45 -0400 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-17 16:39:59 -0500 |
| commit | 9c31a0ffc785e30c4ff87e8d9d66e7989b55d8ef (patch) | |
| tree | c86ef1435b9a19e32d92badd1612a5e83bd4f9b9 /phpBB/includes/template/compile.php | |
| parent | 0df0c6199b89f154eb6371118b4a796a4d05f36f (diff) | |
| download | forums-9c31a0ffc785e30c4ff87e8d9d66e7989b55d8ef.tar forums-9c31a0ffc785e30c4ff87e8d9d66e7989b55d8ef.tar.gz forums-9c31a0ffc785e30c4ff87e8d9d66e7989b55d8ef.tar.bz2 forums-9c31a0ffc785e30c4ff87e8d9d66e7989b55d8ef.tar.xz forums-9c31a0ffc785e30c4ff87e8d9d66e7989b55d8ef.zip | |
[feature/template-events] Rename template_name to style_name.
"Style name" makes a lot more sense and should be in line with
recent style/template changes.
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/template/compile.php')
| -rw-r--r-- | phpBB/includes/template/compile.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/template/compile.php b/phpBB/includes/template/compile.php index e2e9a095dc..c2762bfd59 100644 --- a/phpBB/includes/template/compile.php +++ b/phpBB/includes/template/compile.php @@ -36,17 +36,17 @@ class phpbb_template_compile * Constructor. * * @param bool $allow_php Whether PHP code will be allowed in templates (inline PHP code, PHP tag and INCLUDEPHP tag) - * @param string $template_name Name of top-level template being compiled + * @param string $style_name Name of style to which the template being compiled belongs * @param phpbb_style_resource_locator $locator Resource locator * @param string $phpbb_root_path Path to phpBB root directory * @param phpbb_extension_manager $extension_manager Extension manager to use for finding template fragments in extensions; if null, template hooks will not be invoked * @param phpbb_user $user Current user */ - public function __construct($allow_php, $template_name, $locator, $phpbb_root_path, $extension_manager = null, $user = null) + public function __construct($allow_php, $style_name, $locator, $phpbb_root_path, $extension_manager = null, $user = null) { $this->filter_params = array( 'allow_php' => $allow_php, - 'template_name' => $template_name, + 'style_name' => $style_name, 'locator' => $locator, 'phpbb_root_path' => $phpbb_root_path, 'extension_manager' => $extension_manager, |
