Elgg  Version 4.x
Variables
ban.php File Reference

Go to the source code of this file.

Variables

 $user_guids = (array) get_input('user_guids')
 Bulk ban users. More...
 
if(empty($user_guids)) $users
 
 $count = 0
 

Variable Documentation

$count = 0

Definition at line 24 of file ban.php.

$user_guids = (array) get_input('user_guids')

Bulk ban users.

Definition at line 6 of file ban.php.

if (empty($user_guids)) $users
Initial value:
'type' => 'user',
'guids' => $user_guids,
'limit' => false,
'batch' => true,
'batch_inc_offset' => false,
'metadata_name_value_pairs' => [
'banned' => 'no',
],
])
$user_guids
Bulk ban users.
Definition: ban.php:6
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
Definition: entities.php:545

Definition at line 12 of file ban.php.