diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-11 09:41:15 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-11 09:41:15 -0500 |
| commit | 9acde23a0562ebd57092ed5701bb6a63e623b891 (patch) | |
| tree | c98261388245351fdeb06d030d87627c828f9443 /phpBB/includes/template/context.php | |
| parent | b035697800a4a208cd4e6be68bfd4033cc85af38 (diff) | |
| download | forums-9acde23a0562ebd57092ed5701bb6a63e623b891.tar forums-9acde23a0562ebd57092ed5701bb6a63e623b891.tar.gz forums-9acde23a0562ebd57092ed5701bb6a63e623b891.tar.bz2 forums-9acde23a0562ebd57092ed5701bb6a63e623b891.tar.xz forums-9acde23a0562ebd57092ed5701bb6a63e623b891.zip | |
[feature/twig] Language output assignments, using context class again
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template/context.php')
| -rw-r--r-- | phpBB/includes/template/context.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/includes/template/context.php b/phpBB/includes/template/context.php index ec09da1cf3..3abab4f31b 100644 --- a/phpBB/includes/template/context.php +++ b/phpBB/includes/template/context.php @@ -83,6 +83,26 @@ class phpbb_template_context } /** + * Get (non-referenced) rootref + * + * @return array + */ + public function get_rootref() + { + return $this->rootref; + } + + /** + * Get (non-referenced) tpldata + * + * @return array + */ + public function get_tpldata() + { + return $this->tpldata; + } + + /** * Returns a reference to template data array. * * This function is public so that template renderer may invoke it. |
