aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/template/template.php')
-rw-r--r--phpBB/phpbb/template/template.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/template.php b/phpBB/phpbb/template/template.php
index 95a48ba0ad..c77586587f 100644
--- a/phpBB/phpbb/template/template.php
+++ b/phpBB/phpbb/template/template.php
@@ -55,13 +55,12 @@ interface phpbb_template
*
* Note: Templates are still compiled to phpBB's cache directory.
*
- * @param string $name Name of style, used for cache prefix. Examples: "admin", "prosilver"
+ * @param string|array $names Array of names or string of name of template(s) in inheritance tree order, used by extensions.
* @param array or string $paths Array of style paths, relative to current root directory
- * @param array $names Array of names of templates in inheritance tree order, used by extensions. If empty, $name will be used.
* @param string $template_path Path to templates, relative to style directory. False if path should be set to default (templates/).
* @return phpbb_template $this
*/
- public function set_custom_style($name, $paths, $names = array(), $template_path = false);
+ public function set_custom_style($names, $paths, $template_path = false);
/**
* Sets the style names/paths corresponding to style hierarchy being compiled