Class

UserService

Package: PHPBoost\User Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Kevin MASSY reidlos@phpboost.com Version: PHPBoost 5.2 - last update: 2019 01 09 Since: PHPBoost 3.0 - 2012 03 31 Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: phpboost/user/UserService.class.php

This class manage users

Methods summary
public static
# __static( )
public static integer
# create( User $user, AuthenticationMethod $auth_method, $extended_fields = array(), $auth_method_data = array() )

Create a user

public static
# delete_by_id( $user_id )
public static
# update( User $user, string $extended_fields = null, array $parameters,… )

Update user

public static
public static User
# get_user( integer $user_id )

Get user from his id

public static User
# get_user_by_display_name( string $display_name )

Get user from his display name

public static boolean
# user_exists( string $condition, array $parameters )

Check if a user exists

public static string
# get_level_lang( string $level )

Get localized user level

public static string
# get_level_class( string $level )

Get CSS class of the user level

public static
public static
public static