Project

General

Profile

Actions

Feature proposal #6224

closed

Implement triggers

Added by krileon over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
27 September 2016
Due date:
% Done:

100%

Estimated time:

Description

Implement custom triggers so behavior can be fired specifically on reconfirmation.

https://www.joomlapolis.com/forum/255-developer-members-support/234777-cb-auto-action-trigger-for-reconfirm-email?start=12

Actions #1

Updated by krileon over 7 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

The following triggers will be available with release of 4.0.3.

$_PLUGINS->trigger( 'reconfirm_onBeforeCancel', array( &$user, &$reconfirmEmail, $confirmcode ) );
$_PLUGINS->trigger( 'reconfirm_onAfterCancel', array( $user, $reconfirmEmail, $confirmcode ) );
$_PLUGINS->trigger( 'reconfirm_onBeforeConfirm', array( &$user, &$reconfirmEmail, $confirmcode ) );
$_PLUGINS->trigger( 'reconfirm_onAfterConfirm', array( $user, $reconfirmEmail, $confirmcode ) );

The $reconfirmEmail object containers details like new email address and old email address.

Actions

Also available in: Atom PDF