PHP Class Folks_Friends_application, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Duck ([email protected])
Inheritance: extends Folks_Friends
Exibir arquivo Open project: horde/horde

Public Methods

Method Description
getBlacklist ( ) : array Get user blacklist
getFriends ( ) : array Get user friends
removeBlacklisted ( string $user ) Add user to a blacklist list
removeFriend ( string $friend ) Remove user from a fiend list

Protected Methods

Method Description
_addBlacklisted ( string $user ) Add user to a blacklist list
_addFriend ( string $friend ) Add user to a friend list
_getGroups ( ) Get avaiable groups

Method Details

_addBlacklisted() protected method

Add user to a blacklist list
protected _addBlacklisted ( string $user )
$user string Usersame

_addFriend() protected method

Add user to a friend list
protected _addFriend ( string $friend )
$friend string Friend's usersame

_getGroups() protected method

Get avaiable groups
protected _getGroups ( )

getBlacklist() public method

Get user blacklist
public getBlacklist ( ) : array
return array of users blacklist

getFriends() public method

Get user friends
public getFriends ( ) : array
return array of users

removeBlacklisted() public method

Add user to a blacklist list
public removeBlacklisted ( string $user )
$user string Usersame

removeFriend() public method

Remove user from a fiend list
public removeFriend ( string $friend )
$friend string Friend's usersame