Elgg  Version 6.0
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
Examples:
/root/Elgg/engine/classes/Elgg/Http/Urls.php.

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:507

Definition at line 12 of file ban.php.