Ejemplo n.º 1
0
 /**
  * [subscribe description]
  * @param  [type] $events [description]
  * @return [type]         [description]
  */
 public function subscribe($events)
 {
     $events->listen('role.create', $this->eventPath . 'RoleSubscriber@onCreate');
     $events->listen('role.delete', $this->eventPath . 'RoleSubscriber@onDelete');
     $events->listen('role.move', $this->eventPath . 'RoleSubscriber@onMove');
     $events->listen('role.save', $this->eventPath . 'RoleSubscriber@onSave');
 }
Ejemplo n.º 2
0
 /**
  * [subscribe description]
  * @param  [type] $events [description]
  * @return [type]         [description]
  */
 public function subscribe($events)
 {
     $events->listen('tag.create', $this->eventPath . 'TagSubscriber@onCreate');
     $events->listen('tag.delete', $this->eventPath . 'TagSubscriber@onDelete');
     $events->listen('tag.move', $this->eventPath . 'TagSubscriber@onMove');
     $events->listen('tag.save', $this->eventPath . 'TagSubscriber@onSave');
 }
Ejemplo n.º 3
0
 /**
  * Outline all the events this class will be listening for. 
  * @param  [type] $events 
  * @return void         
  */
 public function subscribe($events)
 {
     $events->listen('user.signup', 'Edgji\\Sentrystart\\Mailers\\UserMailer@welcome');
     $events->listen('user.resend', 'Edgji\\Sentrystart\\Mailers\\UserMailer@welcome');
     $events->listen('user.forgot', 'Edgji\\Sentrystart\\Mailers\\UserMailer@forgotPassword');
     $events->listen('user.newpassword', 'Edgji\\Sentrystart\\Mailers\\UserMailer@newPassword');
 }
Ejemplo n.º 4
0
 /**
  * Outline all the events this class will be listening for. 
  * @param  [type] $events 
  * @return void         
  */
 public function subscribe($events)
 {
     $events->listen('sentinel.user.registered', 'Sentinel\\Mailers\\UserMailer@welcome', 10);
     $events->listen('sentinel.user.resend', 'Sentinel\\Mailers\\UserMailer@welcome', 10);
     $events->listen('sentinel.user.forgot', 'Sentinel\\Mailers\\UserMailer@forgotPassword', 10);
     $events->listen('sentinel.user.newpassword', 'Sentinel\\Mailers\\UserMailer@newPassword', 10);
 }
Ejemplo n.º 5
0
 /**
  * Outline all the events this class will be listening for.
  * @param  [type] $events
  * @return void
  */
 public function subscribe($events)
 {
     $events->listen('user.signup', 'Lavalite\\User\\Mailers\\UserMailer@welcome');
     $events->listen('user.resend', 'Lavalite\\User\\Mailers\\UserMailer@welcome');
     $events->listen('user.forgot', 'Lavalite\\User\\Mailers\\UserMailer@forgotPassword');
     $events->listen('user.newpassword', 'Lavalite\\User\\Mailers\\UserMailer@newPassword');
 }
Ejemplo n.º 6
0
 /**
  * [subscribe description]
  * @param  [type] $events [description]
  * @return [type]         [description]
  */
 public function subscribe($events)
 {
     $events->listen('member.registration', 'App\\Events\\UserEvents@sendRegistrationConfirmation', 10);
     $events->listen('member.member_activated', 'App\\Events\\UserEvents@onMemberActivated', 10);
     $events->listen('member.lead.status_update', 'App\\Events\\UserEvents@onLeadStatusUpdate', 10);
     $events->listen('lead.assign_sales', 'App\\Events\\UserEvents@onLeadAssignSales', 10);
     $events->listen('auth.login', 'App\\Events\\UserEvents@trackLogin', 10);
     $events->listen('auth.logout', 'App\\Events\\UserEvents@trackLogout', 10);
 }
Ejemplo n.º 7
0
 /**
  * [subscribe description]
  * @param  [type] $events [description]
  * @return [type]         [description]
  */
 public function subscribe($events)
 {
     $events->listen('block.copy', $this->eventPath . 'BlockSubscriber@onCopy');
     $events->listen('block.create', $this->eventPath . 'BlockSubscriber@onCreate');
     $events->listen('block.delete', $this->eventPath . 'BlockSubscriber@onDelete');
     $events->listen('block.move', $this->eventPath . 'BlockSubscriber@onMove');
     $events->listen('block.save.settings', $this->eventPath . 'BlockSubscriber@onSaveSettings');
     $events->listen('block.save.content', $this->eventPath . 'BlockSubscriber@onSaveContent');
 }
Ejemplo n.º 8
0
 /**
  * [subscribe description]
  * @param  [type] $events [description]
  * @return [type]         [description]
  */
 public function subscribe($events)
 {
     $events->listen('page.copied', $this->eventPath . 'PageSubscriber@onCopy');
     $events->listen('page.create', $this->eventPath . 'PageSubscriber@onCreate');
     $events->listen('page.delete', $this->eventPath . 'PageSubscriber@onDelete');
     $events->listen('page.move', $this->eventPath . 'PageSubscriber@onMove');
     $events->listen('page.save.settings', $this->eventPath . 'PageSubscriber@onSaveSettings');
     $events->listen('page.save.layout', $this->eventPath . 'PageSubscriber@onSaveLayout');
     $events->listen('page.save.seo', $this->eventPath . 'PageSubscriber@onSaveSeo');
 }
Ejemplo n.º 9
0
 /**
  * Outline all the events this class will be listening for. 
  * 
  * @param  [type] $events 
  * 
  * @return void         
  */
 public function subscribe($events)
 {
     $events->listen('user.mail.register', 'Users\\Mailer\\UserMailer@register');
     $events->listen('user.mail.forgot', 'Users\\Mailer\\UserMailer@forgot');
     $events->listen('user.mail.newpassword', 'Users\\Mailer\\UserMailer@newPassword');
 }
Ejemplo n.º 10
0
 /**
  * [subscribe description]
  * @param  [type] $events [description]
  * @return [type]         [description]
  */
 public function subscribe($events)
 {
     $events->listen('user.create', $this->eventPath . 'UserSubscriber@onCreate');
     $events->listen('user.delete', $this->eventPath . 'UserSubscriber@onDelete');
     $events->listen('user.login', $this->eventPath . 'UserSubscriber@onLogin');
     $events->listen('user.logout', $this->eventPath . 'UserSubscriber@onLogout');
     $events->listen('user.changerole', $this->eventPath . 'UserSubscriber@onChangeRole');
     $events->listen('user.save.settings', $this->eventPath . 'UserSubscriber@onSaveSettings');
 }