Class Socialveo\Core\plugins\NotificationsListener

InheritanceSocialveo\Core\plugins\NotificationsListener » Phalcon\Mvc\User\Plugin

Class NotificationsListener

Public Methods

Hide inherited methods

MethodDescriptionDefined By
commentCreated() Handles "commentCreated" event Socialveo\Core\plugins\NotificationsListener
contentBlocked() Handles "contentBlocked" event Socialveo\Core\plugins\NotificationsListener
contentReported() Handles "contentBlocked" event Socialveo\Core\plugins\NotificationsListener
passwordChanged() Handles "passwordChanged" event Socialveo\Core\plugins\NotificationsListener
passwordReset() Handles "passwordReset" event Socialveo\Core\plugins\NotificationsListener
paymentDue() Handles "paymentDue" event Socialveo\Core\plugins\NotificationsListener
paymentFailed() Handles "paymentDue" event Socialveo\Core\plugins\NotificationsListener
paymentSuccessful() Handles "paymentDue" event Socialveo\Core\plugins\NotificationsListener
postCreated() Socialveo\Core\plugins\NotificationsListener
postShared() Handles "postShared" event Socialveo\Core\plugins\NotificationsListener
postTagged() Handles "postTagged" event Socialveo\Core\plugins\NotificationsListener
postUpdated() Socialveo\Core\plugins\NotificationsListener
repeatActivationEmail() Repeat send activation email Socialveo\Core\plugins\NotificationsListener
userActivationEmail() User registration Socialveo\Core\plugins\NotificationsListener
userActivationSms() Handles "userWelcomeEmail" event Socialveo\Core\plugins\NotificationsListener
userBlocked() Handles "userBlocked" event Socialveo\Core\plugins\NotificationsListener
userCreated() Handles "userCreated" event Socialveo\Core\plugins\NotificationsListener
userCreatedPasswordGenerated() Socialveo\Core\plugins\NotificationsListener
userPremiumCreated() Socialveo\Core\plugins\NotificationsListener
userWelcomeEmail() Handles "userWelcomeEmail" event Socialveo\Core\plugins\NotificationsListener

Method Details

commentCreated() public method (available since version 1.0)

Handles "commentCreated" event

Sends a notification about new comment

public void commentCreated ( $event, $comment )
$event Phalcon\Events\Event
$comment Socialveo\Core\models\Comment
contentBlocked() public method (available since version 1.0)

Handles "contentBlocked" event

Sends a notification to user whose content was marked as spam and blocked

public void contentBlocked ( $event, $model, $user )
$event Phalcon\Events\Event
$model Socialveo\Core\models\SocialveoModel
$user Socialveo\Core\models\User
contentReported() public method (available since version 1.0)

Handles "contentBlocked" event

Sends a notification to user whose content was marked as spam and blocked

public void contentReported ( $event, $model, $user )
$event Phalcon\Events\Event
$model Socialveo\Core\models\SocialveoModel
$user Socialveo\Core\models\User
passwordChanged() public method (available since version 1.0)

Handles "passwordChanged" event

Sends password changed notification to user

public void passwordChanged ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
passwordReset() public method (available since version 1.0)

Handles "passwordReset" event

Sends password recovery link to user

public void passwordReset ( $event, $passwordRecovery, $user )
$event Phalcon\Events\Event
$passwordRecovery Socialveo\Core\models\PasswordRecovery
$user Socialveo\Core\models\User
paymentDue() public method (available since version 1.0)

Handles "paymentDue" event

Sends a notification to user whose subscription period is over

public void paymentDue ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
paymentFailed() public method (available since version 1.0)

Handles "paymentDue" event

Sends a notification to user whose subscription period is over

public void paymentFailed ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
paymentSuccessful() public method (available since version 1.0)

Handles "paymentDue" event

Sends a notification to user whose subscription period is over

public void paymentSuccessful ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
postCreated() public method

public void postCreated ( $event, $post )
$event Phalcon\Events\Event
$post Socialveo\Core\models\Post
postShared() public method (available since version 1.0)

Handles "postShared" event

Sends a notification to user whose post was shared

public void postShared ( $event, $post, $user )
$event Phalcon\Events\Event
$post Socialveo\Core\models\Post
$user Socialveo\Core\models\User
postTagged() public method (available since version 1.0)

Handles "postTagged" event

Sends a notification about new tag

public void postTagged ( $event, $tagAssociation, $user )
$event Phalcon\Events\Event
$tagAssociation Socialveo\Core\models\TagAssociation
$user Socialveo\Core\models\User
postUpdated() public method

public void postUpdated ( $event, $post )
$event Phalcon\Events\Event
$post Socialveo\Core\models\Post
repeatActivationEmail() public method (available since version 1.0)

Repeat send activation email

public void repeatActivationEmail ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
userActivationEmail() public method (available since version 1.0)

User registration

public void userActivationEmail ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
userActivationSms() public method (available since version 1.0)

Handles "userWelcomeEmail" event

Sends user welcome email

public void userActivationSms ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
userBlocked() public method (available since version 1.0)

Handles "userBlocked" event

Sends a notification to user whose was blocked

public void userBlocked ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
userCreated() public method (available since version 1.0)

Handles "userCreated" event

Sends user account activation email

public void userCreated ( $event, $user )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
userCreatedPasswordGenerated() public method

public void userCreatedPasswordGenerated ( $event, $user, $password )
$event
$user
$password
userPremiumCreated() public method

public void userPremiumCreated ( $event, $user )
$event
$user
userWelcomeEmail() public method (available since version 1.0)

Handles "userWelcomeEmail" event

Sends user welcome email

public void userWelcomeEmail ( $event, $user, $password false )
$event Phalcon\Events\Event
$user Socialveo\Core\models\User
$password boolean|string

[optional]