aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-01-19 15:00:26 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-01-19 15:00:26 +0100
commit4213b93cde5bb19b8d2fec43bb4043cd057beec9 (patch)
treee085d0bda19f6ed280d63174307dc0d5df41db58 /phpBB
parentec8fd57f284cb902be4ce8bd9c6a56c9a18007ae (diff)
downloadforums-4213b93cde5bb19b8d2fec43bb4043cd057beec9.tar
forums-4213b93cde5bb19b8d2fec43bb4043cd057beec9.tar.gz
forums-4213b93cde5bb19b8d2fec43bb4043cd057beec9.tar.bz2
forums-4213b93cde5bb19b8d2fec43bb4043cd057beec9.tar.xz
forums-4213b93cde5bb19b8d2fec43bb4043cd057beec9.zip
[ticket/11201] Add parameters and variables to profile field class
PHPBB3-11201
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/profilefields/profilefields.php47
1 files changed, 46 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/profilefields.php b/phpBB/phpbb/profilefields/profilefields.php
index deb2eeb036..ee5c987d36 100644
--- a/phpBB/phpbb/profilefields/profilefields.php
+++ b/phpBB/phpbb/profilefields/profilefields.php
@@ -15,12 +15,57 @@ namespace phpbb\profilefields;
*/
class profilefields
{
+ /**
+ * Auth object
+ * @var \phpbb\auth\auth
+ */
+ protected $auth;
+
+ /**
+ * Database object
+ * @var \phpbb\db\driver\driver
+ */
+ protected $db;
+
+ /**
+ * Request object
+ * @var \phpbb\request\request
+ */
+ protected $request;
+
+ /**
+ * Template object
+ * @var \phpbb\template\template
+ */
+ protected $template;
+
+ /**
+ * User object
+ * @var \phpbb\user
+ */
+ protected $user;
+
+ protected $fields_table;
+
+ protected $fields_language_table;
+
+ protected $fields_data_table;
+
protected $profile_cache = array();
/**
+ * Construct
*
+ * @param \phpbb\auth\auth $auth Auth object
+ * @param \phpbb\db\driver\driver $db Database object
+ * @param \phpbb\request\request $request Request object
+ * @param \phpbb\template\template $template Template object
+ * @param \phpbb\user $user User object
+ * @param string $fields_table
+ * @param string $fields_language_table
+ * @param string $fields_data_table
*/
- public function __construct($auth, $db, $request, $template, $user, $fields_table, $fields_language_table, $fields_data_table)
+ public function __construct(\phpbb\auth\auth $auth, \phpbb\db\driver\driver $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, $fields_table, $fields_language_table, $fields_data_table)
{
$this->auth = $auth;
$this->db = $db;