14 'filter' =>
'inactive',
15 'show_search_form' =>
true,
16 'additional_search_fields' => [[
18 '#label' =>
elgg_echo(
'admin:users:inactive:last_login_before'),
19 '#help' =>
elgg_echo(
'admin:users:inactive:last_login_before:help'),
20 'name' =>
'last_login_before',
24 'datepicker_options' => [
31 'prevent_double_submit' =>
false,
33 'filter' =>
'inactive',
35 'metadata_name_value_pairs' => [
36 'name' =>
'last_login',
43 'property' =>
'last_login',
48 'name' =>
'user_guids',
49 'title' =>
elgg_echo(
'table_columns:fromView:checkbox'),
51 'name' =>
'user_guids[]',
53 elgg()->table_columns->icon(null, [
56 elgg()->table_columns->user(null, [
57 'item_view' =>
'user/default/admin_column',
59 elgg()->table_columns->email(),
60 elgg()->table_columns->last_login(null, [
61 'format' =>
'friendly',
63 elgg()->table_columns->entity_menu(null, [
64 'add_user_hover_admin_section' =>
true,
elgg_register_event_handler(string $event, string $type, callable|string $callback, int $priority=500)
Helper functions for event handling.
elgg_unregister_event_handler(string $event, string $type, callable|string $callback)
Unregisters a callback for an event.
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Saves user notification settings.
const ELGG_VALUE_INTEGER
Value types.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.