| UNA
    | 
 
  
| Public Member Functions | |
| __clone () | |
| id () | |
| isConfirmed ($iAccountId=false) | |
| getCurrentConfirmationStatusValue ($iAccountId=false) | |
| isConfirmedEmail ($iAccountId=false) | |
| isConfirmedPhone ($iAccountId=false) | |
| isLocked ($iAccountId=false) | |
| updateEmailConfirmed ($isConfirmed, $isAutoSendConfrmationEmail=true, $iAccountId=false) | |
| updatePhoneConfirmed ($isConfirmed, $iAccountId=false) | |
| updatePassword ($sPassword, $iAccountId=false) | |
| updatePhone ($sPhone, $iAccountId=false) | |
| updateProfileContextAuto ($iProfileIdFilterOut=false, $iAccountId=false) | |
| updateProfileContext ($iSwitchToProfileId, $iAccountId=false) | |
| sendConfirmationEmail ($iAccountId=false) | |
| sendResetPasswordEmail ($iAccountId=false) | |
| getInfo ($iAccountId=false) | |
| getDisplayName ($iAccountId=false) | |
| getUrl ($iAccountId=false) | |
| getUnit ($iAccountId=false, $aParams=array()) | |
| getPicture ($iAccountId=false) | |
| getAvatarBig ($iAccountId=false) | |
| getAvatar ($iAccountId=false) | |
| getThumb ($iAccountId=false) | |
| getIcon ($iAccountId=false) | |
| getEmail ($iAccountId=false) | |
| getLanguageId ($iAccountId=false) | |
| isOnline ($iAccountId=false) | |
| isProfilesLimitReached () | |
| getProfilesNumber ($isFilterNonSwitchableProfiles=true) | |
| getProfilesIds ($isFilterNonSwitchableProfiles=true, $isFilterSystemProfiles=true) | |
| getProfiles ($isFilterNonSwitchableProfiles=true, $isFilterSystemProfiles=true) | |
| delete ($bDeleteWithContent=false, $bScheduled=false) | |
| addInformerPermanentMessages ($oInformer) | |
| addInformerDeletionScheduled ($oInformer) | |
| getUnsubscribeLink ($iEmailType, $iAccountId=false) | |
| getEmailHash ($iAccountId=false) | |
| getPasswordChangedDate ($mixedAccount=false) | |
| getPasswordExpiredDate ($iPasswordExpiredForMembership, $mixedAccount=false) | |
| isNeedChangePassword ($iAccountId=false, $oInformer=false) | |
| doAudit ($iAccountId, $sAction, $aData=[]) | |
| Static Public Member Functions | |
| static | getInstance ($mixedAccountId=false, $bClearCache=false) | 
| static | getInstanceStudioOperator () | 
| static | isNeedConfirmEmail () | 
| static | isNeedConfirmPhone () | 
| static | getID ($s) | 
| static | isAllowedCreate ($iProfileId, $isPerformAction=false) | 
| static | isAllowedCreateMultiple ($iProfileId, $isPerformAction=false) | 
| static | isAllowedEdit ($iProfileId, $aContentInfo, $isPerformAction=false) | 
| static | isAllowedDelete ($iProfileId, $aContentInfo, $isPerformAction=false) | 
| static | pruning () | 
| Static Public Member Functions inherited from iBxDolSingleton | |
| static | getInstance () | 
| Protected Member Functions | |
| __construct ($iAccountId) | |
| _getImageUrl ($sSize, $mixedData) | |
| Protected Attributes | |
| $_iAccountID | |
| $_aInfo | |
| $_oQuery | |
| $_sImageField | |
| $_aImageTranscoders | |
| 
 | protected | 
Constructor
| BxDolAccount::__clone | ( | ) | 
Prevent cloning the instance
| BxDolAccount::addInformerPermanentMessages | ( | $oInformer | ) | 
Add permament messages.
| BxDolAccount::delete | ( | $bDeleteWithContent = false, | |
| $bScheduled = false ) | 
Delete profile.
| $bDeleteWithContent | - delete associated profiles with all its contents | 
| $bScheduled | - delete account using background jobs. | 
accountbefore_deletedelete_with_content - [bool] if account will delete with content = true, otherwise = falsestop_deletion - [bool] by ref, if it set to true account deletion will stopped, can be overridden in hook processing 
accountdeletedelete_with_content - [bool] if account will delete with content = true, otherwise = false 
| BxDolAccount::getAvatar | ( | $iAccountId = false | ) | 
Get avatar url
| BxDolAccount::getAvatarBig | ( | $iAccountId = false | ) | 
Get big (2x) avatar url
| BxDolAccount::getDisplayName | ( | $iAccountId = false | ) | 
Get account display name
accountaccount_nameinfo - [array] contains account info from $oAccount->getInfo()display_name - [string] by ref, account display name, can be overridden in hook processing 
| BxDolAccount::getEmail | ( | $iAccountId = false | ) | 
Get account email
| BxDolAccount::getIcon | ( | $iAccountId = false | ) | 
Get icon picture url
| 
 | static | 
Validate account.
| $s | - account identifier (id or email) | 
| BxDolAccount::getInfo | ( | $iAccountId = false | ) | 
Get account info
| 
 | static | 
Get singleton instance of the class
| 
 | static | 
Get studio operator account singleton instance on the class
| BxDolAccount::getLanguageId | ( | $iAccountId = false | ) | 
Get language ID
| BxDolAccount::getPicture | ( | $iAccountId = false | ) | 
Get picture url
| BxDolAccount::getProfiles | ( | $isFilterNonSwitchableProfiles = true, | |
| $isFilterSystemProfiles = true ) | 
Get all profiles associated with the account
| BxDolAccount::getProfilesIds | ( | $isFilterNonSwitchableProfiles = true, | |
| $isFilterSystemProfiles = true ) | 
Get all profile ids associated with the account
| BxDolAccount::getProfilesNumber | ( | $isFilterNonSwitchableProfiles = true | ) | 
Get number of profiles associated with the account
| BxDolAccount::getThumb | ( | $iAccountId = false | ) | 
Get thumb picture url
| BxDolAccount::getUnit | ( | $iAccountId = false, | |
| $aParams = array() ) | 
Get account url
| BxDolAccount::getUnsubscribeLink | ( | $iEmailType, | |
| $iAccountId = false ) | 
Get unsubscribe link for the specified mesage type
| BxDolAccount::getUrl | ( | $iAccountId = false | ) | 
Get account url
| BxDolAccount::id | ( | ) | 
Get account id
| 
 | static | 
| 
 | static | 
profileallow_create_another_profileoverride_result - [bool] by ref, if allow create another profile = true, otherwise = false, can be overridden in hook processing 
| 
 | static | 
| 
 | static | 
| BxDolAccount::isConfirmed | ( | $iAccountId = false | ) | 
Check if account is confirmed, it is checked by email confirmation
accountis_confirmedtype - [string] confirmation type can be none/phone/email/email_and_phone/email_or_phoneoverride_result - [bool] by ref, if account confirmed = true, otherwise false, can be overridden in hook processing 
| BxDolAccount::isConfirmedEmail | ( | $iAccountId = false | ) | 
accountis_confirmed_emailoverride_result - [bool] by ref, if email confirmed = true, otherwise false, can be overridden in hook processing | BxDolAccount::isConfirmedPhone | ( | $iAccountId = false | ) | 
accountis_confirmed_phoneoverride_result - [bool] by ref, if phone confirmed = true, otherwise false, can be overridden in hook processing 
| BxDolAccount::isNeedChangePassword | ( | $iAccountId = false, | |
| $oInformer = false ) | 
accountis_need_to_change_passwordoverride_result - [bool] by ref, if Need Redirect To Change Password = true, otherwise = false, can be overridden in hook processing 
| BxDolAccount::isOnline | ( | $iAccountId = false | ) | 
Is account online
| BxDolAccount::isProfilesLimitReached | ( | ) | 
Check if profiles limit reached
accountget_limit_profiles_numberaccount_id - [int] account idnumber - [int] by ref, account limit on the number of profiles, can be overridden in hook processing 
| BxDolAccount::sendConfirmationEmail | ( | $iAccountId = false | ) | 
Send "confirmation" email
| BxDolAccount::updateEmailConfirmed | ( | $isConfirmed, | |
| $isAutoSendConfrmationEmail = true, | |||
| $iAccountId = false ) | 
Set account email to confirmed or unconfirmed
| int | $isConfirmed | - false: mark email as unconfirmed, true: as confirmed | 
| int | $iAccountId | - optional account id | 
account| BxDolAccount::updatePassword | ( | $sPassword, | |
| $iAccountId = false ) | 
Change account password
| string | $sPassword | - new password | 
| int | $iAccountId | - optional account id | 
accountaction - [string] action's name, can be reset_password 
| BxDolAccount::updatePhone | ( | $sPhone, | |
| $iAccountId = false ) | 
Set account phone
| string | $sPhone | - phone number | 
| int | $iAccountId | - optional account id | 
accountset_phone| BxDolAccount::updatePhoneConfirmed | ( | $isConfirmed, | |
| $iAccountId = false ) | 
Set account phone to confirmed or unconfirmed
| int | $isConfirmed | - false: mark phone as unconfirmed, true: as confirmed | 
| int | $iAccountId | - optional account id | 
| BxDolAccount::updateProfileContext | ( | $iSwitchToProfileId, | |
| $iAccountId = false ) | 
accountbefore_switch_contextprofile_id_current - [int] current profile_idoverride_result - [int] by ref, profile_id to switch to, can be overridden in hook processing 
accountswitch_contextprofile_id_old - [int] old profile_id 
| BxDolAccount::updateProfileContextAuto | ( | $iProfileIdFilterOut = false, | |
| $iAccountId = false ) | 
Switch context automatically to the first available profile
| $iProfileIdFilterOut | profile ID to exclude from the list of possible profiles | 
| $iAccountId | account ID to use istead of current account |