aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-05-07 17:58:56 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-05-07 17:58:56 -0400
commit1cba674b9a04390ff754bdb34691b3654f5916f9 (patch)
treececd2042a30d04cb791f49fba99602794810d56a
parentb5444a7d7d1f6ac694468d8cc37fc0489e714547 (diff)
downloadforums-1cba674b9a04390ff754bdb34691b3654f5916f9.tar
forums-1cba674b9a04390ff754bdb34691b3654f5916f9.tar.gz
forums-1cba674b9a04390ff754bdb34691b3654f5916f9.tar.bz2
forums-1cba674b9a04390ff754bdb34691b3654f5916f9.tar.xz
forums-1cba674b9a04390ff754bdb34691b3654f5916f9.zip
[feature/template-engine] Added docblocks and boilerplate to new files.
PHPBB3-9726
-rw-r--r--phpBB/includes/template_context.php21
-rw-r--r--phpBB/includes/template_executor.php18
-rw-r--r--phpBB/includes/template_executor_eval.php18
-rw-r--r--phpBB/includes/template_executor_include.php19
4 files changed, 76 insertions, 0 deletions
diff --git a/phpBB/includes/template_context.php b/phpBB/includes/template_context.php
index ae898e9be1..df5c4afb24 100644
--- a/phpBB/includes/template_context.php
+++ b/phpBB/includes/template_context.php
@@ -1,5 +1,26 @@
<?php
+/**
+*
+* @package phpBB3
+* @version $Id$
+* @copyright (c) 2011 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+/**
+* Stores variables assigned to template.
+*
+* @package phpBB3
+*/
class phpbb_template_context
{
/**
diff --git a/phpBB/includes/template_executor.php b/phpBB/includes/template_executor.php
index 32e4e9a7b4..0d410679b9 100644
--- a/phpBB/includes/template_executor.php
+++ b/phpBB/includes/template_executor.php
@@ -1,10 +1,28 @@
<?php
+/**
+*
+* @package phpBB3
+* @version $Id$
+* @copyright (c) 2011 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
/**
* Template executor interface.
*
* Objects implementing this interface encapsulate a means of executing
* (i.e. rendering) a template.
+*
+* @package phpBB3
*/
interface phpbb_template_executor
{
diff --git a/phpBB/includes/template_executor_eval.php b/phpBB/includes/template_executor_eval.php
index af7d68fef3..79142edb04 100644
--- a/phpBB/includes/template_executor_eval.php
+++ b/phpBB/includes/template_executor_eval.php
@@ -1,8 +1,26 @@
<?php
+/**
+*
+* @package phpBB3
+* @version $Id$
+* @copyright (c) 2011 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
/**
* Template executor that stores compiled template's php code and
* evaluates it via eval.
+*
+* @package phpBB3
*/
class phpbb_template_executor_eval implements phpbb_template_executor
{
diff --git a/phpBB/includes/template_executor_include.php b/phpBB/includes/template_executor_include.php
index 3671265cca..aacabc61e4 100644
--- a/phpBB/includes/template_executor_include.php
+++ b/phpBB/includes/template_executor_include.php
@@ -1,8 +1,27 @@
<?php
+/**
+*
+* @package phpBB3
+* @version $Id$
+* @copyright (c) 2011 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
/**
* Template executor that stores path to php file with template code
* and evaluates it by including the file.
+*
+* @package phpBB3
*/
class phpbb_template_executor_include implements phpbb_template_executor
{