diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-07 17:58:56 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-07 17:58:56 -0400 |
commit | 1cba674b9a04390ff754bdb34691b3654f5916f9 (patch) | |
tree | cecd2042a30d04cb791f49fba99602794810d56a | |
parent | b5444a7d7d1f6ac694468d8cc37fc0489e714547 (diff) | |
download | forums-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.php | 21 | ||||
-rw-r--r-- | phpBB/includes/template_executor.php | 18 | ||||
-rw-r--r-- | phpBB/includes/template_executor_eval.php | 18 | ||||
-rw-r--r-- | phpBB/includes/template_executor_include.php | 19 |
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 { |