diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-03-10 23:49:37 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-03-10 23:49:37 +0100 |
commit | 235f7c3721f792e0f732ed086e1118a2f08e37a6 (patch) | |
tree | a8e34772c5f685b6b0ba3dc1e7b90c6db2f8457e /phpBB/phpbb/template/base.php | |
parent | c169583dc3c551bc08fc217e0d5bb5dd6022ec57 (diff) | |
parent | d29514f3e795374a653d3b9fa96c80dbefff449f (diff) | |
download | forums-235f7c3721f792e0f732ed086e1118a2f08e37a6.tar forums-235f7c3721f792e0f732ed086e1118a2f08e37a6.tar.gz forums-235f7c3721f792e0f732ed086e1118a2f08e37a6.tar.bz2 forums-235f7c3721f792e0f732ed086e1118a2f08e37a6.tar.xz forums-235f7c3721f792e0f732ed086e1118a2f08e37a6.zip |
Merge remote-tracking branch 'rxu3/ticket/12224' into develop
* rxu3/ticket/12224:
[ticket/12224] Add assign_block_vars_array() test.
[ticket/12224] Add template wrapper method to assign block arrays
Diffstat (limited to 'phpBB/phpbb/template/base.php')
-rw-r--r-- | phpBB/phpbb/template/base.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/template/base.php b/phpBB/phpbb/template/base.php index 6044effa1f..5bce79fd85 100644 --- a/phpBB/phpbb/template/base.php +++ b/phpBB/phpbb/template/base.php @@ -113,6 +113,16 @@ abstract class base implements template /** * {@inheritdoc} */ + public function assign_block_vars_array($blockname, array $block_vars_array) + { + $this->context->assign_block_vars_array($blockname, $block_vars_array); + + return $this; + } + + /** + * {@inheritdoc} + */ public function alter_block_array($blockname, array $vararray, $key = false, $mode = 'insert') { return $this->context->alter_block_array($blockname, $vararray, $key, $mode); |