mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11201] Add parameters and variables to profile field class
PHPBB3-11201
This commit is contained in:
parent
ec8fd57f28
commit
4213b93cde
1 changed files with 46 additions and 1 deletions
|
@ -15,12 +15,57 @@ namespace phpbb\profilefields;
|
||||||
*/
|
*/
|
||||||
class 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();
|
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->auth = $auth;
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
|
|
Loading…
Add table
Reference in a new issue