usergroup
class usergroup extends base_group
Properties
protected driver_interface | $db | from base_group | |
protected config | $config | from base_group | |
protected helper | $helper | from base_group | |
protected user | $user | from base_group | |
protected auth | $auth | from base_group | |
protected string | $phpbb_root_path | from base_group | |
protected string | $php_ext | from base_group | |
protected string|false | $cache_ttl | from base_group | |
protected array | $groups | from base_group |
Methods
__construct(driver_interface $db, config $config, helper $helper, user $user, auth $auth, string $phpbb_root_path, string $phpEx)
base_group constructor.
from
base_group
string
query(string $keyword, int $topic_id)
Builds a query for getting group IDs 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_group
bool
get(array $names, string $keyword, int $topic_id)
Searches database for names to mention and alters the passed array of found items
from
base_group
Details
in
base_group at line 61
__construct(driver_interface $db, config $config, helper $helper, user $user, auth $auth, string $phpbb_root_path, string $phpEx)
base_group constructor.
in
base_group at line 82
protected array
get_groups()
Returns data for all board groups
at line 21
protected string
query(string $keyword, int $topic_id)
Builds a query for getting group IDs based on user input
in
base_group at line 133
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_group at line 142
bool
get(array $names, string $keyword, int $topic_id)
Searches database for names to mention and alters the passed array of found items