1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/10756] Fixing variable declarations in style and template classes

Fixing variable declaration, removing function from template locator that does not belong there

PHPBB3-10756
This commit is contained in:
Vjacheslav Trushkin
2012-04-03 14:32:49 +03:00
committed by Nils Adermann
parent d91abbb146
commit ed9a58a6cc
3 changed files with 22 additions and 23 deletions

View File

@@ -32,33 +32,39 @@ if (!defined('IN_PHPBB'))
class phpbb_template
{
/**
* @var phpbb_template_context Template context.
* Template context.
* Stores template data used during template rendering.
* @var phpbb_template_context
*/
public $context;
/**
* @var string Path of the cache directory for the template
* Path of the cache directory for the template
* @var string
*/
public $cachepath = '';
/**
* @var string phpBB root path
* phpBB root path
* @var string
*/
private $phpbb_root_path;
/**
* @var phpEx PHP file extension
* PHP file extension
* @var string
*/
private $phpEx;
/**
* @var phpbb_config phpBB config instance
* phpBB config instance
* @var phpbb_config
*/
private $config;
/**
* @var user current user
* Current user
* @var phpbb_user
*/
private $user;