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/template.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/template.php')
-rw-r--r-- | phpBB/phpbb/template/template.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/phpbb/template/template.php b/phpBB/phpbb/template/template.php index d95b0a822c..87ae7a9766 100644 --- a/phpBB/phpbb/template/template.php +++ b/phpBB/phpbb/template/template.php @@ -132,6 +132,14 @@ interface template public function assign_block_vars($blockname, array $vararray); /** + * Assign key variable pairs from an array to a whole specified block loop + * @param string $blockname Name of block to assign $block_vars_array to + * @param array $block_vars_array An array of hashes of variable name => value pairs + * @return \phpbb\template\template $this + */ + public function assign_block_vars_array($blockname, array $block_vars_array); + + /** * Change already assigned key variable pair (one-dimensional - single loop entry) * * An example of how to use this function: |