Class Socialveo\Core\plugins\UserNotificationsListener

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

Class UserNotificationsListener

Method Details

commentCreated() public method

CommentCreated event

public void commentCreated ( $event, $data )
$event Phalcon\Events\Event
$data array
getConfig() protected method

protected stdClass getConfig ( )
mentionedInComment() public method

Check mentions on comment and send notifications

public void mentionedInComment ( $event, $data )
$event Phalcon\Events\Event
$data array
mentionedInPost() public method

Checks mentions in post and send notifications

public void mentionedInPost ( $event, $data )
$event Phalcon\Events\Event
$data array
messageCreated() public method

public void messageCreated ( $event, Socialveo\Core\models\Messages $message )
$event Phalcon\Events\Event
$message Socialveo\Core\models\Messages
postCreated() public method

PostCreated event

public void postCreated ( $event, $post )
$event Phalcon\Events\Event
$post Socialveo\Core\models\Post
premiumProfitReceived() public method

Profit received

public void premiumProfitReceived ( $event, $data )
$event Phalcon\Events\Event
$data array