Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ElggUser
ban
ElggUser::ban PHP Method
ElggUser Class Documentation
Show file
Open project: elgg/elgg
ban()
public
method
Ban this user.
public
ban
(
string
$reason
= "" ) :
boolean
$reason
string
Optional reason
return
boolean
public function ban($reason = "") { return ban_user($this->guid, $reason); }
ElggUser
__construct
__set
addFriend
ban
canComment
create
getDisplayName
getExternalAttributes
getFriends
getFriendsObjects
getFriendsOf
getGroups
getNotificationSettings
getObjects
getOwnerGUID
initializeAttributes
isAdmin
isBanned
isFriend
isFriendOf
isFriendsWith
load
makeAdmin
prepareObject
removeAdmin
removeFriend
setDisplayName
setNotificationSetting
setPassword
unban
update