Class

User

Package: PHPBoost\User Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Kevin MASSY reidlos@phpboost.com Version: PHPBoost 5.2 - last update: 2018 11 09 Since: PHPBoost 3.0 - 2012 03 31 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Located at: phpboost/user/User.class.php
Direct known subclasses
CurrentUser
Methods summary
public
# set_id( $id )
public
# get_id( )
public
# set_level( $level )
public
public
# is_guest( )
public
# is_robot( )
public
public
# is_admin( )
public
# set_groups( $groups )
public
public
# set_display_name( $display_name )
public
public
# set_email( $email )
public
public
# set_show_email( $show_email )
public
public
# set_unread_pm( $unread_pm )
public
public
# set_locale( $locale )
public
public
# set_theme( $theme )
public
public
# set_timezone( $timezone )
public
public
# set_editor( $editor )
public
public
# set_warning_percentage( $warning_percentage )
public
public
# set_delay_banned( $delay_banned )
public
public
public
# set_delay_readonly( $delay_readonly )
public
public
public static
# get_group_color( $user_groups, $level = 0, $is_array = false )
public
# set_properties( array $properties )
public
# init_robot_user( $robot_name )
public
public static
# get_visitor_properties( $display_name = null, $level = self::VISITOR_LEVEL )
Constants summary
integer ROBOT_LEVEL
# -2
integer VISITOR_LEVEL
# -1
integer MEMBER_LEVEL
# 0
integer MODERATOR_LEVEL
# 1
integer ADMIN_LEVEL
# 2
Properties summary
protected integer $id
# -1
protected integer $level
# -1
protected array $groups
# array()
protected $display_name
#
protected $email
#
protected boolean $show_email
# false
protected integer $unread_pm
# 0
protected $locale
#
protected $theme
#
protected $timezone
#
protected $editor
#
protected integer $delay_banned
# 0
protected integer $delay_readonly
# 0
protected integer $warning_percentage
# 0