friend
class friend 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 | |
protected user | $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
from
base_user
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 34
protected string
query(string $keyword, int $topic_id)
Builds a query based on user input
in
base_user at line 75
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
at line 26
void
set_user(user $user)
Set the user service used to retrieve current user ID