PHP Class MultipleEmailsPlugin, addons

Inheritance: extends Gdn_Plugin
Datei anzeigen Open project: vanilla/addons

Protected Properties

Property Type Description
$_OldPasswordHash Properties

Public Methods

Method Description
EntryController_Render_Before ( Gdn_Controller $Sender, array $Args )
Setup ( ) Methods.
UserModel_AfterInsertUser_Handler ( UserModel $UserModel, array $Args )
UserModel_AfterPasswordReset_Handler ( UserModel $UserModel, array $Args )
UserModel_AfterSave_Handler ( UserModel $UserModel, array $Args )
UserModel_BeforePasswordRequest_Handler ( UserModel $UserModel, array $Args ) Consolidates users with the same email into one user so only one password request email is sent.
UserModel_BeforeSave_Handler ( UserModel $UserModel, array $Args )

Protected Methods

Method Description
_SyncPasswords ( UserModel $UserModel, integer $UserID, boolean $CheckPasswords = TRUE )

Method Details

EntryController_Render_Before() public method

public EntryController_Render_Before ( Gdn_Controller $Sender, array $Args )
$Sender Gdn_Controller
$Args array

Setup() public method

Methods.
public Setup ( )

UserModel_AfterInsertUser_Handler() public method

public UserModel_AfterInsertUser_Handler ( UserModel $UserModel, array $Args )
$UserModel UserModel
$Args array

UserModel_AfterPasswordReset_Handler() public method

public UserModel_AfterPasswordReset_Handler ( UserModel $UserModel, array $Args )
$UserModel UserModel
$Args array

UserModel_AfterSave_Handler() public method

public UserModel_AfterSave_Handler ( UserModel $UserModel, array $Args )
$UserModel UserModel
$Args array

UserModel_BeforePasswordRequest_Handler() public method

Consolidates users with the same email into one user so only one password request email is sent.
public UserModel_BeforePasswordRequest_Handler ( UserModel $UserModel, array $Args )
$UserModel UserModel
$Args array

UserModel_BeforeSave_Handler() public method

public UserModel_BeforeSave_Handler ( UserModel $UserModel, array $Args )
$UserModel UserModel
$Args array

_SyncPasswords() protected method

protected _SyncPasswords ( UserModel $UserModel, integer $UserID, boolean $CheckPasswords = TRUE )
$UserModel UserModel
$UserID integer
$CheckPasswords boolean

Property Details

$_OldPasswordHash protected_oe property

Properties
protected $_OldPasswordHash