diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-27 00:05:12 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-27 00:05:12 +0200 |
commit | 05cd25a88b551d7338596cc6634e95cb371f565d (patch) | |
tree | d90992994d5a8747c17da124e616e6d05278f2ea /phpBB/phpbb | |
parent | 9a846e447ba98b175c510d9fbe7741648296a1ba (diff) | |
download | forums-05cd25a88b551d7338596cc6634e95cb371f565d.tar forums-05cd25a88b551d7338596cc6634e95cb371f565d.tar.gz forums-05cd25a88b551d7338596cc6634e95cb371f565d.tar.bz2 forums-05cd25a88b551d7338596cc6634e95cb371f565d.tar.xz forums-05cd25a88b551d7338596cc6634e95cb371f565d.zip |
[ticket/12509] Add example in doc block
PHPBB3-12509
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/template/twig/twig.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/phpbb/template/twig/twig.php b/phpBB/phpbb/template/twig/twig.php index fc6e9eacd8..9ea5121553 100644 --- a/phpBB/phpbb/template/twig/twig.php +++ b/phpBB/phpbb/template/twig/twig.php @@ -212,6 +212,10 @@ class twig extends \phpbb\template\base * Note: Templates are still compiled to phpBB's cache directory. * * @param string|array $names Array of names (or detailed names) or string of name of template(s) in inheritance tree order, used by extensions. + * E.g. array( + * 'name' => 'adm', + * 'ext_path' => 'adm/style/', + * ) * @param string|array of string $paths Array of style paths, relative to current root directory * @return \phpbb\template\template $this */ |