IP.Board  3.3.0
nexusMemberSync Class Reference

Public Member Functions

 onCreateAccount ($member)
 onDelete ($mids)
 onEmailChange ($id, $new_email, $old_email)
 onGroupChange ($id, $new_group, $old_group)
 onLogin ($member)
 onMerge ($member, $member2)
 onPassChange ($id, $new_plain_text_pass)

Member Function Documentation

onCreateAccount ( member)

This method is run after a new account has been created We use this to generate an invoice if they chose any packages

Parameters:
array$memberMember data ('members' table only)
Returns:
void
onDelete ( mids)

This method is called after a member account has been removed Deliberately don't delete nexus_support_replies since if an alternate contacts being deleted, you'll probably still want their replies to support requests to show

public

Parameters:
string$idsSQL IN() clause
Returns:
void
onEmailChange ( id,
new_email,
old_email 
)

This method is run after a users email address is successfully changed

Parameters:
integer$idMember ID
string$new_emailNew email address
string$old_emailOld email address
Returns:
void
onGroupChange ( id,
new_group,
old_group 
)

This method is run after a users group is successfully changed

public

Parameters:
integer$idMember ID
integer$new_groupNew Group ID
integer$old_groupOld Group ID
Returns:
void
onLogin ( member)

This method is ren when a user successfully logs in We use this to check if they purchased a package on registration, and if so, redirect them to the payment page.

public

Parameters:
array$memberArray of member data
Returns:
void
onMerge ( member,
member2 
)

This method is called after a member's account has been merged into another member's account Deliberately don't merge customer history, since we will keep a seperate customer history page

public

Parameters:
array$memberMember account being kept
array$member2Member account being removed
Returns:
void
onPassChange ( id,
new_plain_text_pass 
)

This method is run after a users password is successfully changed

public

Parameters:
integer$idMember ID
string$new_plain_text_passThe new password
Returns:
void

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables