Class Socialveo\Core\library\Inviter

InheritanceSocialveo\Core\library\Inviter
Uses TraitsSocialveo\Core\Translatable

Class Inviter

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructor method Socialveo\Core\library\Inviter
_t() Gets translations Socialveo\Core\Translatable
sendInvitationToConnect() Sends an invitation to connect to another user or closed group owner Socialveo\Core\library\Inviter
sendInvitationToConversation() Sends an invitation to join a conversation (read private message) Socialveo\Core\library\Inviter
sendInvitationToNetwork() Sends an invitation to a user, inviting him/her to join a group Socialveo\Core\library\Inviter
sendInvitationToSite() Sends an invitation to join site, to a provided email addresses Socialveo\Core\library\Inviter
storeInvite() Socialveo\Core\library\Inviter
t() Gets translations Socialveo\Core\Translatable

Method Details

__construct() public method (available since version 1.0)

Constructor method

public void __construct ( $user )
$user
throws Exception
sendInvitationToConnect() public method (available since version 1.0)

Sends an invitation to connect to another user or closed group owner

public boolean sendInvitationToConnect ( $connection, $notification )
$connection
$notification
sendInvitationToConversation() public method (available since version 1.0)

Sends an invitation to join a conversation (read private message)

public boolean sendInvitationToConversation ( $connection, $dialog_uuid )
$connection
$dialog_uuid
sendInvitationToNetwork() public method (available since version 1.0)

Sends an invitation to a user, inviting him/her to join a group

public boolean sendInvitationToNetwork ( $connection, $notification )
$connection
$notification
sendInvitationToSite() public method (available since version 1.0)

Sends an invitation to join site, to a provided email addresses

public array sendInvitationToSite ( $emails )
$emails array
storeInvite() public method

public void storeInvite ( $name, $email )
$name
$email