| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
This file is part of the phpBB Forum Software package.
| Copyright: | (c) phpBB Limited |
| License: | GNU General Public License, version 2 (GPL-2.0) |
| File Size: | 243 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
legend:: (9 methods):
__construct()
get_group_value()
get_group_count()
add_group()
delete_group()
move_up()
move_down()
move()
group_type_language()
| __construct(\phpbb\db\driver\driver_interface $db, \phpbb\user $user) X-Ref |
| Constructor param: \phpbb\db\driver\driver_interface $db Database object param: \phpbb\user $user User object |
| get_group_value($group_id) X-Ref |
| Returns the group_legend for a given group, if the group exists. param: int $group_id group_id of the group to be selected return: int position of the group |
| get_group_count() X-Ref |
| Get number of groups, displayed on the legend return: int value of the last item displayed |
| add_group($group_id) X-Ref |
| {@inheritDoc} |
| delete_group($group_id, $skip_group = false) X-Ref |
| Deletes a group by setting the field to self::GROUP_DISABLED and closing the gap in the list. param: int $group_id group_id of the group to be deleted param: bool $skip_group Skip setting the value for this group, to save the query, when you need to update it anyway. return: bool True if the group was deleted successfully |
| move_up($group_id) X-Ref |
| {@inheritDoc} |
| move_down($group_id) X-Ref |
| {@inheritDoc} |
| move($group_id, $delta) X-Ref |
| {@inheritDoc} |
| group_type_language($group_type) X-Ref |
| Get group type language var param: int $group_type group_type from the groups-table return: string name of the language variable for the given group-type. |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |