diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 12:45:35 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 12:45:35 -0500 |
| commit | bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14 (patch) | |
| tree | 70875f01af4c2b4f644915d66f81438e616a57b5 /phpBB/phpbb/template/template.php | |
| parent | ecaed319ab46ee4dd45fe788a05aaeff96afc1d2 (diff) | |
| download | forums-bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14.tar forums-bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14.tar.gz forums-bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14.tar.bz2 forums-bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14.tar.xz forums-bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14.zip | |
[ticket/11628] Return $this from set_style, set_custom_style
PHPBB3-11628
Diffstat (limited to 'phpBB/phpbb/template/template.php')
| -rw-r--r-- | phpBB/phpbb/template/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/template/template.php b/phpBB/phpbb/template/template.php index 537c4eaf01..95a48ba0ad 100644 --- a/phpBB/phpbb/template/template.php +++ b/phpBB/phpbb/template/template.php @@ -46,7 +46,7 @@ interface phpbb_template * @param array $style_directories The directories to add style paths for * E.g. array('ext/foo/bar/styles', 'styles') * Default: array('styles') (phpBB's style directory) - * @return bool true + * @return phpbb_template $this */ public function set_style($style_directories = array('styles')); @@ -59,7 +59,7 @@ interface phpbb_template * @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 bool true + * @return phpbb_template $this */ public function set_custom_style($name, $paths, $names = array(), $template_path = false); |
