IAccountManager
Access user profile information
Tags
Table of Contents
- NOT_VERIFIED = '0'
- PROPERTY_ADDRESS = 'address'
- PROPERTY_AVATAR = 'avatar'
- PROPERTY_DISPLAYNAME = 'displayname'
- PROPERTY_EMAIL = 'email'
- PROPERTY_PHONE = 'phone'
- PROPERTY_TWITTER = 'twitter'
- PROPERTY_WEBSITE = 'website'
- VERIFICATION_IN_PROGRESS = '1'
- VERIFIED = '2'
- VISIBILITY_CONTACTS_ONLY = 'contacts'
- only contacts, especially trusted servers can see my contact details
- VISIBILITY_PRIVATE = 'private'
- nobody can see my account details
- VISIBILITY_PUBLIC = 'public'
- every body ca see my contact detail, will be published to the lookup server
- getAccount() : IAccount
- Get the account data for a given user
Constants
NOT_VERIFIED
public
mixed
NOT_VERIFIED
= '0'
PROPERTY_ADDRESS
public
mixed
PROPERTY_ADDRESS
= 'address'
PROPERTY_AVATAR
public
mixed
PROPERTY_AVATAR
= 'avatar'
PROPERTY_DISPLAYNAME
public
mixed
PROPERTY_DISPLAYNAME
= 'displayname'
PROPERTY_EMAIL
public
mixed
PROPERTY_EMAIL
= 'email'
PROPERTY_PHONE
public
mixed
PROPERTY_PHONE
= 'phone'
PROPERTY_TWITTER
public
mixed
PROPERTY_TWITTER
= 'twitter'
PROPERTY_WEBSITE
public
mixed
PROPERTY_WEBSITE
= 'website'
VERIFICATION_IN_PROGRESS
public
mixed
VERIFICATION_IN_PROGRESS
= '1'
VERIFIED
public
mixed
VERIFIED
= '2'
VISIBILITY_CONTACTS_ONLY
only contacts, especially trusted servers can see my contact details
public
mixed
VISIBILITY_CONTACTS_ONLY
= 'contacts'
VISIBILITY_PRIVATE
nobody can see my account details
public
mixed
VISIBILITY_PRIVATE
= 'private'
VISIBILITY_PUBLIC
every body ca see my contact detail, will be published to the lookup server
public
mixed
VISIBILITY_PUBLIC
= 'public'
Methods
getAccount()
Get the account data for a given user
public
getAccount(IUser $user) : IAccount
Parameters
- $user : IUser