1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/11103] User Loader constructor docs

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-12-08 14:28:38 -06:00
parent 0d6c8f46ff
commit c0534f9e5d

View File

@ -43,6 +43,14 @@ class phpbb_user_loader
*/
protected $users = array();
/**
* User loader constructor
*
* @param dbal $db A database connection
* @param string $phpbb_root_path Path to the phpbb includes directory.
* @param string $php_ext php file extension
* @param string $users_table The name of the database table (phpbb_users)
*/
public function __construct(dbal $db, $phpbb_root_path, $php_ext, $users_table)
{
$this->db = $db;