Méthode | Description | |
---|---|---|
friendOf ( ) : array | Get users who have you on friendlist | |
waitingApprovalFor ( ) | Get friends that does not confirm the current user yet | |
waitingApprovalFrom ( ) | Get friends that does not confirm the current user yet |
Méthode | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructs a new SQL storage object. | |
_addBlacklisted ( string $user ) | Add user to a blacklist list | |
_addFriend ( string $friend ) | Add user to a friend list | |
_approveFriend ( string $friend ) | Approve our friend to add us to his userlist | |
_connect ( ) : boolean | Attempts to open a persistent connection to the SQL server. | |
_getBlacklist ( ) : array | Get user blacklist | |
_getFriends ( ) : array | Get user friends | |
_getGroups ( ) | Get user groups | |
_removeBlacklisted ( string $user ) | Remove user from blacklist list | |
_removeFriend ( string $friend ) | Remove user from a fiend list |
protected __construct ( array $params = [] ) | ||
$params | array | A hash containing connection parameters. |
protected _addBlacklisted ( string $user ) | ||
$user | string | Usersame |
protected _addFriend ( string $friend ) | ||
$friend | string | Friend's usersame |
protected _approveFriend ( string $friend ) | ||
$friend | string | Friedn username |
protected _getBlacklist ( ) : array | ||
Résultat | array | of users blacklist |
protected _getFriends ( ) : array | ||
Résultat | array | of user's friends |
protected _removeBlacklisted ( string $user ) | ||
$user | string | Usersame |
protected _removeFriend ( string $friend ) | ||
$friend | string | Friend's usersame |
public waitingApprovalFor ( ) |
public waitingApprovalFrom ( ) |