메소드 |
설명 |
|
__construct ( ) |
Prep properties. |
|
_setBreadcrumbs ( $Name = null, $Url = null ) |
|
|
activity ( mixed $UserReference = '', string $Username = '', integer $UserID = '', $Page = '' ) |
Show activity feed for this user. |
|
addProfileTab ( mixed $TabName, string $TabUrl = '', string $CssClass = '', string $TabHtml = '' ) |
Adds a tab (or array of tabs) to the profile tab collection ($this->ProfileTabs). |
|
addSideMenu ( string $CurrentUrl = '' ) |
Adds the option menu to the panel asset. |
|
buildEditMenu ( SideMenuModule &$Module, string $CurrentUrl = '' ) |
|
|
buildProfile ( ) : boolean |
Build the user profile. |
|
clear ( mixed $UserID = '' ) |
Clear user's current status message. |
|
connections ( integer | string $UserReference = '', string $Username = '' ) |
Lists the connections to other sites. |
|
count ( string $Column, integer $UserID = false ) |
Generic way to get count via UserModel->ProfileCount(). |
|
deleteInvitation ( integer $InvitationID ) |
Delete an invitation that has already been accepted. |
|
disconnect ( string $UserReference = '', string $Username = '', $Provider ) |
|
|
edit ( mixed $UserReference = '', $Username = '', $UserID = '' ) |
Edit user account. |
|
editMode ( $Switch ) |
|
|
get ( integer $UserID = false ) |
Render basic data about user. |
|
getProfileUrl ( string | integer | null $UserReference = null, integer | null $UserID = null ) : string |
|
|
getUserInfo ( $UserReference = '', string $Username = '', integer $UserID = '', boolean $CheckPermissions = false ) : boolean |
Retrieve the user to be manipulated. Defaults to current user. |
|
index ( mixed $User = '', string $Username = '', integer $UserID = '', $Page = false ) |
Default profile page. |
|
initialize ( ) |
Adds JS, CSS, & modules. Automatically run on every use. |
|
invitations ( $UserReference = '', $Username = '', $UserID = '' ) |
Manage current user's invitations. |
|
multi ( type $UserID ) |
Fetch multiple users |
|
noMobile ( string $type = 'desktop' ) |
Set 'NoMobile' cookie for current user to prevent use of mobile theme. |
|
notifications ( integer $Page = false ) |
Show notifications for current user. |
|
notificationsPopin ( ) |
|
|
password ( ) |
Set new password for current user. |
|
picture ( mixed $userReference = '', string $username = '', string $userID = '' ) |
Set user's photo (avatar). |
|
preference ( string $Key = false ) |
Gets or sets a user's preference. This method is meant for ajax calls. |
|
preferences ( mixed $UserReference = '', string $Username = '', integer $UserID = '' ) |
Edit user's preferences (mostly notification settings). |
|
profileUrl ( mixed $UserReference = null, string $UserID = null ) : string |
Build URL to user's profile. |
|
removePicture ( mixed $UserReference = '', string $Username = '', string $tk = '', $deliveryType = '' ) |
Remove the user's photo. |
|
sendInvite ( integer $InvitationID = '' ) |
Let user send an invitation. |
|
setTabView ( string $CurrentTab, string $View = '', string $Controller = 'Profile', string $Application = 'Dashboard' ) |
Define & select the current tab in the tab menu. Sets $this->_CurrentTab. |
|
thumbnail ( mixed $UserReference = '', string $Username = '' ) |
Set user's thumbnail (crop & center photo). |
|
uninvite ( integer $InvitationID ) |
Revoke an invitation. |
|