Class

User

Package: phpboost Author: Kevin MASSY <kevin.massy@phpboost.com> Desc: This class represente a user Located at phpboost/user/User.class.php

Direct known subclasses

CurrentUser
Methods summary
public
# set_id( mixed $id )
public
# get_id( )
public
# set_level( mixed $level )
public
public
# is_guest( )
public
# is_admin( )
public
# set_groups( mixed $groups )
public
public
# set_display_name( mixed $display_name )
public
public
# set_email( mixed $email )
public
public
# set_show_email( mixed $show_email )
public
public
# set_unread_pm( mixed $unread_pm )
public
public
# set_locale( mixed $locale )
public
public
# set_theme( mixed $theme )
public
public
# set_timezone( mixed $timezone )
public
public
# set_editor( mixed $editor )
public
public
# set_warning_percentage( mixed $warning_percentage )
public
public
# set_delay_banned( mixed $delay_banned )
public
public
public
# set_delay_readonly( mixed $delay_readonly )
public
public
public static
# get_group_color( mixed $user_groups, mixed $level = 0, mixed $is_array = false )
public
# set_properties( array $properties )
public
public static
# get_visitor_properties( mixed $display_name = null )
Constants summary
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 mixed $display_name
#
protected mixed $email
#
protected boolean $show_email false
#
protected integer $unread_pm 0
#
protected mixed $locale
#
protected mixed $theme
#
protected mixed $timezone
#
protected mixed $editor
#
protected integer $delay_banned 0
#
protected integer $delay_readonly 0
#
protected integer $warning_percentage 0
#