helper
class helper
Properties
protected auth | $auth | ||
protected service | $cache | ||
protected config | $config | ||
protected language | $language | ||
protected dispatcher_interface | $dispatcher | ||
protected path_helper | $path_helper | ||
protected user | $user | ||
protected string | $phpbb_root_path | ||
protected array | $name_strings |
Methods
__construct(auth $auth, service $cache, config $config, language $language, dispatcher_interface $dispatcher, path_helper $path_helper, user $user)
Constructor
string
get_name(string $group_name)
No description
string
get_name_string(string $mode, int $group_id, string $group_name, string $group_colour = '', mixed $custom_profile_url = false)
Get group name details for placing into templates.
array
get_rank(array $group_data)
Get group rank title and image
string
get_avatar(array $group_row, string $alt = 'GROUP_AVATAR', bool $ignore_config = false, bool $lazy = false)
Get group avatar.
Details
at line 64
__construct(auth $auth, service $cache, config $config, language $language, dispatcher_interface $dispatcher, path_helper $path_helper, user $user)
Constructor
at line 91
string
get_name(string $group_name)
No description
at line 113
string
get_name_string(string $mode, int $group_id, string $group_name, string $group_colour = '', mixed $custom_profile_url = false)
Get group name details for placing into templates.
at line 224
array
get_rank(array $group_data)
Get group rank title and image
at line 290
string
get_avatar(array $group_row, string $alt = 'GROUP_AVATAR', bool $ignore_config = false, bool $lazy = false)
Get group avatar.
Wrapper function for phpbb_get_group_avatar()