System events
The component fires only two system events, both related to user registration.
OnUserActivate
Fires when the user is successfully activated.
OnUserActivate parameters
$user— user object.$profile— user profile object.$data— all user data as an array.
aiOnUserUpdate
Fires when user data is updated via the profile form in the user cabinet.
aiOnUserUpdate parameters
$user— user object.$profile— user profile object.$data— all data passed in the $_POST array.
Внимание
Do not return anything from your plugins for these events; return values are not used. The events are fired only so you can perform actions on the user and profile after update and activation.
