class blockUser


Located at : UKNOWVA_ROOT/components/com_community/libraries/block.php

Methods

block($userId)

Block user(Ban)

unBlock($userId, $layout = null)

unblock user(removeBan)

removeFriend($friendid)

remove friend

_triggerFriendEvents($eventName, $args, $target = null)

No description

ajaxBlockMessage()

restrict blocked user to access owner details

ajaxBlockWarn()

restrict blocked user to access owner details

isUserBlocked($userId, $viewName)

restrict blocked user to access owner details

Details

at line 17
block($userId)

Block user(Ban)

Parameters

$userId

at line 50
unBlock($userId, $layout = null)

unblock user(removeBan)

Parameters

$userId
$layout

at line 78
removeFriend($friendid)

remove friend

Parameters

$friendid

at line 121
_triggerFriendEvents($eventName, $args, $target = null)

Parameters

$eventName
$args
$target

at line 142
ajaxBlockMessage()

restrict blocked user to access owner details

at line 161
ajaxBlockWarn()

restrict blocked user to access owner details

at line 180
isUserBlocked($userId, $viewName)

restrict blocked user to access owner details

Parameters

$userId
$viewName