Summary
- File
- Package hierarchy PHPBoost\User
- Class hierarchy \User \CurrentUser
This class represente the current user
This class represente the current user
set_id( $id)
$id |
None found |
get_id()
None found |
set_level( $level)
$level |
None found |
get_level()
None found |
is_guest()
None found |
is_robot()
None found |
is_moderator()
None found |
is_admin()
None found |
set_groups( $groups)
$groups |
None found |
get_groups()
None found |
set_display_name( $display_name)
$display_name |
None found |
get_display_name()
None found |
set_email( $email)
None found |
get_email()
None found |
set_show_email( $show_email)
$show_email |
None found |
get_show_email()
None found |
set_unread_pm( $unread_pm)
$unread_pm |
None found |
get_unread_pm()
None found |
set_locale( $locale)
$locale |
None found |
get_locale()
None found |
set_theme( $theme)
$theme |
None found |
get_theme()
None found |
set_timezone( $timezone)
$timezone |
None found |
get_timezone()
None found |
set_editor( $editor)
$editor |
None found |
get_editor()
None found |
set_warning_percentage( $warning_percentage)
$warning_percentage |
None found |
get_warning_percentage()
None found |
set_delay_banned( $delay_banned)
$delay_banned |
None found |
get_delay_banned()
None found |
is_banned()
None found |
set_delay_readonly( $delay_readonly)
$delay_readonly |
None found |
get_delay_readonly()
None found |
is_readonly()
None found |
get_group_color( $user_groups, $level, $is_array = false)
$user_groups | ||
$level | ||
$is_array |
None found |
set_properties(array $properties)
array | $properties |
None found |
init_robot_user( $robot_name)
$robot_name |
None found |
init_visitor_user()
None found |
get_visitor_properties( $display_name = null, $level = self::VISITOR_LEVEL)
$display_name | ||
$level |
None found |
from_session()
None found |
__construct(\SessionData $session)
\SessionData | $session |
None found |
check_level( $level)
$level |
None found |
check_auth( $array_auth_groups, $authorization_bit)
$array_auth_groups | ||
$authorization_bit |
None found |
check_max_value( $key_auth, $max_value_compare)
$key_auth | ||
$max_value_compare |
None found |
update_theme(string $theme)
Modify the theme for guest in the database (sessions table).
string | $theme | The new theme |
None found |
update_lang( $lang)
Modify the lang for guest in the database (sessions table).
$lang |
None found |
update_visitor_display_name()
None found |
build_groups(\SessionData $session)
\SessionData | $session |
None found |
sum_auth_groups( $array_auth_groups)
$array_auth_groups |
None found |
array_group_intersect( $array_auth_groups)
$array_auth_groups |
None found |
$id :
None found |
$level :
None found |
$groups :
None found |
$display_name :
None found |
$email :
None found |
$show_email :
None found |
$unread_pm :
None found |
$locale :
None found |
$theme :
None found |
$timezone :
None found |
$editor :
None found |
$delay_banned :
None found |
$delay_readonly :
None found |
$warning_percentage :
None found |
$groups_auth :
None found |
ROBOT_LEVEL = -2
None found |
VISITOR_LEVEL = -1
None found |
MEMBER_LEVEL = 0
None found |
MODERATOR_LEVEL = 1
None found |
ADMIN_LEVEL = 2
None found |