PHP 클래스 Folks_Friends_prefs, horde

NOTE: You must add this prefs to your application $_prefs['whitelist'] = array( 'value' => '', 'locked' => false, 'type' => 'implicit' ); $_prefs['blacklist'] = array( 'value' => '', 'locked' => false, 'type' => 'implicit' ); Copyright 2007-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
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
getBlacklist ( ) : array Get user blacklist
getFriends ( ) : array Get user friends
getGroups ( ) Get avaiable groups
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

비공개 메소드들

메소드 설명
_addrem_lists ( string $type, string $user ) Add/remove a user from a list
_lists ( string $type, string $user = null ) : array Returns array of usernames in a list of false if list is empty splits list by any number of commas or space characters which include " ", \r, \t, \n and \f

메소드 상세

_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

getBlacklist() 공개 메소드

Get user blacklist
public getBlacklist ( ) : array
리턴 array of users blacklist

getFriends() 공개 메소드

Get user friends
public getFriends ( ) : array
리턴 array of users

getGroups() 공개 메소드

Get avaiable groups
public getGroups ( )

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