user
class user extends base_user
Properties
protected driver_interface | $db | from base_user | |
protected config | $config | from base_user | |
protected user_loader | $user_loader | from base_user | |
protected string | $phpbb_root_path | from base_user | |
protected string | $php_ext | from base_user | |
protected string|false | $cache_ttl | from base_user |
Methods
__construct(driver_interface $db, config $config, user_loader $user_loader, string $phpbb_root_path, string $phpEx)
base_user constructor.
from
base_user
string
query(string $keyword, int $topic_id)
Builds a query based on user input
int
get_priority(array $row)
Returns the priority of the currently selected name Please note that simple inner priorities for a certain source can be set with ORDER BY SQL clause
Details
in
base_user at line 49
__construct(driver_interface $db, config $config, user_loader $user_loader, string $phpbb_root_path, string $phpEx)
base_user constructor.
at line 35
protected string
query(string $keyword, int $topic_id)
Builds a query based on user input
at line 21
int
get_priority(array $row)
Returns the priority of the currently selected name Please note that simple inner priorities for a certain source can be set with ORDER BY SQL clause
in
base_user at line 84
bool
get(array $names, string $keyword, int $topic_id)
Searches database for names to mention and alters the passed array of found items