Class Socialveo\Core\helpers\MessagesDialogsHelper

InheritanceSocialveo\Core\helpers\MessagesDialogsHelper

Class MessagesDialogsHelper

Method Details

addUser() public static method

Add user dialog

public static boolean addUser ( Socialveo\Core\models\MessagesDialogs $dialog, Socialveo\Core\models\User $user, $newDialog false )
$dialog Socialveo\Core\models\MessagesDialogs
$user Socialveo\Core\models\User
$newDialog boolean

[optional]

create() public static method

Create dialog

public static null|Socialveo\Core\models\MessagesDialogs create ( $type, $user, $to_user null, array $params = [] )
$type integer
$user Socialveo\Core\models\User
$to_user Socialveo\Core\models\User
$params array
throws Exception
deleteUser() public static method

Delete user dialog

public static boolean|object deleteUser ( Socialveo\Core\models\MessagesDialogs $dialog, Socialveo\Core\models\User $user )
$dialog Socialveo\Core\models\MessagesDialogs
$user Socialveo\Core\models\User
throws Exception