aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/context.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-08-07 19:07:27 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-08-07 19:07:27 -0400
commitf3befa4b29b52680d5a32e197ea0776b8478d71d (patch)
treee346f5adc75d9d55fc5df9db2486f75e717dda3b /phpBB/includes/template/context.php
parent02fc5330664120705a7812103046f88eab723d3e (diff)
downloadforums-f3befa4b29b52680d5a32e197ea0776b8478d71d.tar
forums-f3befa4b29b52680d5a32e197ea0776b8478d71d.tar.gz
forums-f3befa4b29b52680d5a32e197ea0776b8478d71d.tar.bz2
forums-f3befa4b29b52680d5a32e197ea0776b8478d71d.tar.xz
forums-f3befa4b29b52680d5a32e197ea0776b8478d71d.zip
[feature/template-engine] Remaining documentation.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes/template/context.php')
-rw-r--r--phpBB/includes/template/context.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/template/context.php b/phpBB/includes/template/context.php
index 71d82880fe..f85f86a0ec 100644
--- a/phpBB/includes/template/context.php
+++ b/phpBB/includes/template/context.php
@@ -28,6 +28,7 @@ class phpbb_template_context
* --> $this->tpldata[block][iteration#][child][iteration#][child2][iteration#][variablename] == value
* if it's a root-level variable, it'll be like this:
* --> $this->tpldata[.][0][varname] == value
+ *
* @var array
*/
private $tpldata = array('.' => array(0 => array()));
@@ -53,6 +54,7 @@ class phpbb_template_context
/**
* Assign a single variable to a single key
+ *
* @param string $varname Variable name
* @param string $varval Value to assign to variable
*/
@@ -99,6 +101,7 @@ class phpbb_template_context
/**
* Assign key variable pairs from an array to a specified block
+ *
* @param string $blockname Name of block to assign $vararray to
* @param array $vararray A hash of variable name => value pairs
*/
@@ -308,6 +311,7 @@ class phpbb_template_context
/**
* Reset/empty complete block
+ *
* @param string $blockname Name of block to destroy
*/
public function destroy_block_vars($blockname)