UserAccountsConfig
This class contains all the data related to the user accounts configuration.
- AbstractConfigData implements ConfigData
- UserAccountsConfig
public
integer
|
|
public
|
#
set_member_accounts_validation_method( integer $method )
Sets the method used to validate the member accounts |
public
string
|
|
public
|
#
set_welcome_message( string $message )
Sets the welcome message displayed on the member profile main page. |
public
boolean
|
|
public
|
#
set_registration_enabled( boolean $enabled )
Sets the boolean indicating if the registration is enabled |
public
|
|
public
|
|
public
unknown_type
|
|
public
|
|
public
boolean
|
|
public
|
#
set_avatar_upload_enabled( boolean $enabled )
Sets the boolean indicating if avatars can be uploaded on the server |
public
boolean
|
|
public
|
#
set_avatar_auto_resizing_enabled( boolean $enabled )
Sets the boolean value indicating whether the avatars should be resized automatically |
public
|
|
public
|
|
public
integer
|
#
get_unactivated_accounts_timeout( )
Returns the time after which the member accounts which haven't been activated are removed |
public
|
#
set_unactivated_accounts_timeout( integer $duration )
Sets the duration of the unactivated accounts timeout |
public
boolean
|
|
public
|
#
set_default_avatar_name_enabled( true $enabled )
Sets the boolean indicating if the default avatar is enabled when a user hasn't its own one. |
public
|
|
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string[mixed]
|
#
get_default_values( )
Returns a map associating to each property name the corresponding default value |
public static
|
|
public static
|
__construct(),
get_property(),
set_default_values(),
set_property(),
synchronize()
|
string |
MEMBER_ACCOUNTS_VALIDATION_METHOD_PROPERTY
Name of the property indicating if member accounts have to be validated and how. |
#
'member_accounts_validation_method'
|
string |
WELCOME_MESSAGE_PROPERTY
Name of the property containing the welcome message visible at the entry of the member zone |
#
'welcome_message'
|
string |
REGISTRATION_ENABLED_PROPERTY
Name of the property indicating if guests can register |
#
'registration_enabled'
|
string |
REGISTRATION_AGREEMENT_PROPERTY
Name of the property containing the registration agreement that user must accept to register on the site |
#
'registration_agreement'
|
string |
UNACTIVATED_ACCOUNTS_TIMEOUT_PROPERTY
Name of the property containing the time (in days) after which a member account which hasn't been activated will be automatically removed. |
#
'unactivated_accounts_timeout'
|
string |
ENABLE_AVATAR_UPLOAD_PROPERTY
Name of the property indicating if users can upload on the server their avatar |
#
'enable_avatar_upload'
|
string |
ENABLE_AVATAR_AUTO_RESIZING
Name of the property indicating whether avatars' automatic resizing is enabled or not |
#
'enable_avatar_auto_resizing'
|
string |
DEFAULT_AVATAR_ENABLED_PROPERTY
Name of the property indicating if the default avatar is enable (users who don't have a specific avatar will have the default one). |
#
'default_avatar_enabled'
|
string |
DEFAULT_AVATAR_URL_PROPERTY
Name of the property indicating the URL of the default avatar |
#
'default_avatar_url'
|
string |
MAX_AVATAR_WIDTH_PROPERTY
Name of the property indicating the maximum avatar width (in pixels). |
#
'max_avatar_width'
|
string |
MAX_AVATAR_HEIGHT_PROPERTY
Name of the property indicating the maximum avatar height (in pixels). |
#
'max_avatar_height'
|
string |
MAX_AVATAR_WEIGHT_PROPERTY
Name of the property containing the max size of avatars |
#
'max_avatar_weight'
|
string |
AUTH_READ_MEMBERS
Name of the property containing the authorization read member all |
#
'auth_read_members'
|
integer |
AUTH_READ_MEMBERS_BIT
|
#
1
|
string |
DEFAULT_LANG
|
#
'default_lang'
|
string |
DEFAULT_THEME
|
#
'default_theme'
|
string |
MAX_PRIVATE_MESSAGES_NUMBER
|
#
'max_pm_number'
|
string |
ALLOW_USERS_TO_CHANGE_DISPLAY_NAME
|
#
'allow_users_to_change_display_name'
|
string |
ALLOW_USERS_TO_CHANGE_EMAIL
|
#
'allow_users_to_change_email'
|
string |
AUTOMATIC_USER_ACCOUNTS_VALIDATION
|
#
'1'
|
string |
MAIL_USER_ACCOUNTS_VALIDATION
|
#
'2'
|
string |
ADMINISTRATOR_USER_ACCOUNTS_VALIDATION
|
#
'3'
|