PHP Класс 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.
Автор: Duck ([email protected])
Наследование: extends Folks_Friends
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
_addBlacklisted ( string $user ) Add user to a blacklist list
_addFriend ( string $friend ) Add user to a friend list
_getGroups ( ) Get avaiable groups

Описание методов

_addBlacklisted() защищенный Метод

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

_addFriend() защищенный Метод

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

_getGroups() защищенный Метод

Get avaiable groups
protected _getGroups ( )

getBlacklist() публичный Метод

Get user blacklist
public getBlacklist ( ) : array
Результат array of users blacklist

getFriends() публичный Метод

Get user friends
public getFriends ( ) : array
Результат array of users

removeBlacklisted() публичный Метод

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

removeFriend() публичный Метод

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