Class cfUserProfile
cfUserProfile Class
Class to build and operate the the form for editing user profiles, including module extensions to the user profile.
Package: clearFusionCMS
Copyright: Copyright (c) 2012 - 2016 clearFusionCMS. All rights reserved.
Located at system/app/cfUserProfile.php
Copyright: Copyright (c) 2012 - 2016 clearFusionCMS. All rights reserved.
Located at system/app/cfUserProfile.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Constants summary
integer |
ADMIN
Editing/creating the profile in the admin. |
#
1
|
integer |
USEREDIT
User is editing their own profile. |
#
2
|
integer |
REGISTRATION
User is registering their own profile. |
#
3
|
integer |
USEREDITINMGR
User is editing their own profile within the manager interface. |
#
4
|
integer |
ALLOWCHANGE
Allow username to be changed. |
#
1
|
integer |
ALLOWIFNOTSET
Allow username to be changed if not set. |
#
2
|
Properties summary
protected
|
$db
The database object. |
|
protected
|
$user
The user object. |
|
protected
integer
|
$userId
The user id. |
|
protected
array
|
$exts
The extension fields. |
#
array()
|
protected
integer
|
$where
Where the profile is being used. |
|
protected
integer
|
$usernameChange
If username changes are allowed. |
|
protected
boolean
|
$allowDisplayName
Flags if display name allowed. |
|
protected
boolean
|
$with2FA
Flags if with 2 Factor Authentication. |
|
protected
boolean
|
$withBio
Flags if with bio editing. |