added settings controller

This commit is contained in:
Antonio Ramirez
2016-12-10 14:28:01 +01:00
parent e215fd58bf
commit d3ad2c4f90
4 changed files with 75 additions and 7 deletions

View File

@ -10,6 +10,8 @@ class SocialNetworkConnectEvent extends Event
{
const EVENT_BEFORE_CONNECT = 'beforeConnect';
const EVENT_AFTER_CONNECT = 'afterConnect';
const EVENT_BEFORE_DISCONNECT = 'beforeDisconnect';
const EVENT_AFTER_DISCONNECT = 'afterDisconnect';
protected $user;
protected $account;

View File

@ -8,6 +8,8 @@ class UserEvent extends Event
{
const EVENT_BEFORE_CREATE = 'beforeCreate';
const EVENT_AFTER_CREATE = 'afterCreate';
const EVENT_BEFORE_DELETE = 'beforeDelete';
const EVENT_AFTER_DELETE = 'afterDelete';
const EVENT_BEFORE_REGISTER = 'beforeRegister';
const EVENT_AFTER_REGISTER = 'afterRegister';
const EVENT_BEFORE_ACCOUNT_UPDATE = 'beforeAccountUpdate';