UNA
Loading...
Searching...
No Matches
BxBaseServiceAccount Class Reference
Inheritance diagram for BxBaseServiceAccount:
BxDol BxTemplServiceAccount

Public Member Functions

 serviceCreateAccountForm ($aParams=array())
 
 serviceAccountSettingsEmail ($iAccountId=false)
 
 serviceAccountSettingsPassword ($iAccountId=false)
 
 serviceAccountSettingsInfo ($iAccountId=false)
 
 serviceAccountSettingsDelAccount ($iAccountId=false)
 
 serviceUnsubscribeNews ()
 
 serviceUnsubscribeNotifications ()
 
 serviceGetConfirmationTypes ()
 
 serviceEmailConfirmation ($sMsg=false)
 
 servicePhoneConfirmation ($sMsg=false)
 
 confirmEmail ($sKey)
 
 serviceConfirmEmail ($sKey)
 
 serviceGetOptionsResetPasswordRedirect ()
 
 serviceGetOptionsSwitchToProfileRedirect ()
 
 serviceGetOptionsPruningInterval ()
 
 serviceForgotPassword ()
 
 serviceSwitchProfile ($iSwitchToProfileId)
 
 resetPassword ()
 
 generateUserNewPwd ($iAccountId)
 

Protected Member Functions

 _unsubscribeForm ($sDisplay)
 
 _confirmEmail ($sKey)
 

Protected Attributes

 $_oAccountForms
 
 $_oAccountQuery
 

Detailed Description

System service for creating system profile functionality.

Constructor & Destructor Documentation

◆ __construct()

BxBaseServiceAccount::__construct ( )

Reimplemented from BxDol.

Member Function Documentation

◆ confirmEmail()

BxBaseServiceAccount::confirmEmail ( $sKey)

Perform email confirmation

Hooks:

'account', 'after_email_confirmation' - hook after email confirmed

  • $unit_name - equals account
  • $action - equals after_email_confirmation
  • $object_id - account id
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

◆ generateUserNewPwd()

BxBaseServiceAccount::generateUserNewPwd ( $iAccountId)

Generate new password.

Hooks:

'account', 'edited' - hook on account edited $oAccount->updatePassword

◆ resetPassword()

BxBaseServiceAccount::resetPassword ( )

Reset password procedure

◆ serviceCreateAccountForm()

BxBaseServiceAccount::serviceCreateAccountForm ( $aParams = array())

◆ serviceEmailConfirmation()

BxBaseServiceAccount::serviceEmailConfirmation ( $sMsg = false)

Display email confirmation form, if confirmation code is provided then try to confirm profile

◆ serviceForgotPassword()

BxBaseServiceAccount::serviceForgotPassword ( )

forgot_password

Hooks:

'account', 'before_forgot_password_send_sms' - hook in $oAccount->isConfirmed check

  • $unit_name - equals account
  • $action - equals before_forgot_password_send_sms
  • $object_id - account id
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

◆ serviceGetConfirmationTypes()

BxBaseServiceAccount::serviceGetConfirmationTypes ( )

Display confirmation statuses list

◆ servicePhoneConfirmation()

BxBaseServiceAccount::servicePhoneConfirmation ( $sMsg = false)

Display phone confirmation forms, if confirmation code is provided then try to confirm profile

Hooks:

'account', 'before_confirm_phone_send_sms' - hook in confirm phone

  • $unit_name - equals account
  • $action - equals before_confirm_phone_send_sms
  • $object_id - account id
  • $sender_id - logged profile_id
  • $extra_params - array of additional params with the following array keys:

◆ serviceSwitchProfile()

BxBaseServiceAccount::serviceSwitchProfile ( $iSwitchToProfileId)

switch_profile

Hooks:

'account', 'check_switch_context' - hook on switch profile

  • $unit_name - equals account
  • $action - equals check_switch_context
  • $object_id - account id
  • $sender_id - viewer profile_id
  • $extra_params - array of additional params with the following array keys:

◆ serviceUnsubscribeNews()

BxBaseServiceAccount::serviceUnsubscribeNews ( )

Display unsubscribe from newsletters form

◆ serviceUnsubscribeNotifications()

BxBaseServiceAccount::serviceUnsubscribeNotifications ( )

Display unsubscribe from notifications form


The documentation for this class was generated from the following file: