Elgg  Version 6.2
Variables
bulk_actions.php File Reference

Go to the source code of this file.

Variables

 $query = get_input('q')
 
 $getter = $query ? 'elgg_search' : 'elgg_get_entities'
 
 $default_options
 
 $options = (array) elgg_extract('options', $vars, [])
 
 $users
 
if(empty($users)) $default_menu_vars
 
 $menu_vars = (array) elgg_extract('menu_vars', $vars, [])
 

Variable Documentation

◆ $default_menu_vars

if (empty( $users)) $default_menu_vars
Initial value:
= [
'class' => ['elgg-menu-hz', 'elgg-admin-users-bulkactions-buttons'],
'item_contents_view' => 'navigation/menu/elements/item/submit',
'filter_value' => elgg_extract('filter', $vars, 'all'),
'show_ban' => true,
'show_unban' => true,
'show_delete' => true,
'show_validate' => false,
]
$vars
Definition: theme.php:5
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:256

Definition at line 66 of file bulk_actions.php.

◆ $default_options

$default_options

Definition at line 18 of file bulk_actions.php.

◆ $getter

$getter = $query ? 'elgg_search' : 'elgg_get_entities'

Definition at line 15 of file bulk_actions.php.

◆ $menu_vars

$menu_vars = (array) elgg_extract('menu_vars', $vars, [])

Definition at line 76 of file bulk_actions.php.

◆ $options

$options = (array) elgg_extract('options', $vars, [])

Definition at line 51 of file bulk_actions.php.

◆ $query

$query = get_input('q')

◆ $users

$users
Initial value:
})
$options
$getter
const ELGG_SHOW_DISABLED_ENTITIES
Definition: constants.php:123
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags.
Definition: elgglib.php:306
elgg_list_entities(array $options=[], ?callable $getter=null, ?callable $viewer=null)
Returns a string of rendered entities.
Definition: entities.php:551

Definition at line 54 of file bulk_actions.php.