Class

GroupsService

Package: PHPBoost\Member Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Regis VIARRE crowkait@phpboost.com Version: PHPBoost 5.2 - last update: 2018 12 18 Since: PHPBoost 1.6 - 2007 05 18 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Located at: phpboost/member/GroupsService.class.php
Methods summary
public static
# __static( )
public static boolean
# add_member( integer $user_id, integer $idgroup )

Adds a member in a group

public static
# edit_member( integer $user_id, array $array_user_groups )

Edits the user groups, compute difference between previous and new groups.

public static The
# get_groups_names( )

Returns the list of the names of the groups, array: id => name

public static array
# get_groups( )

Returns the list of the groups

public static
# remove_member( integer $user_id, integer $idgroup )

Removes a member in a group.

Annonces