Class Socialveo\Core\plugins\KarmaListener

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

Class KarmaListener

Method Details

commentCreated() public method (available since version 1.0)

Handles "commentCreated" event

Adds or removes karma points, depending on configuration

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

Handles "connectionConfirmed" event

Adds or removes karma points, depending on configuration

public void connectionConfirmed ( $event, Socialveo\Core\models\Connection $connection )
$event Phalcon\Events\Event
$connection Socialveo\Core\models\Connection
connectionForgot() public method

public void connectionForgot ( $event, Socialveo\Core\models\Connection $connection )
$event Phalcon\Events\Event
$connection Socialveo\Core\models\Connection
contentBlocked() public method (available since version 1.0)

Handles "contentBlocked" event

Adds or removes karma points, depending on configuration

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

Handles "invitationsSent" event

Adds or removes karma points, depending on configuration

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

Handles "networkCreated" event

Adds or removes karma points, depending on configuration

public void networkCreated ( $event, $network )
$event Phalcon\Events\Event
$network Socialveo\Core\models\Network
postCreated() public method (available since version 1.0)

Handles "postCreated" event

Adds or removes karma points, depending on configuration

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

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

Handles "profileImageUploaded" event

Adds or removes karma points, depending on configuration

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

Handles "userActivated" event.

Adds or removes karma points, depending on configuration

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

Handles "verifiedGoogle" event

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

Handles "verifiedGoogle" event

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