20 'list_type' =>
'table',
24 'name' =>
'user_guids',
25 'title' =>
elgg_echo(
'table_columns:fromView:checkbox'),
27 'name' =>
'user_guids[]',
29 elgg()->table_columns->icon(
null, [
32 elgg()->table_columns->user(
null, [
33 'item_view' =>
'user/default/admin_column',
35 elgg()->table_columns->email(),
36 elgg()->table_columns->time_created(
null, [
37 'format' =>
'friendly',
39 elgg()->table_columns->entity_menu(
null, [
40 'add_user_hover_admin_section' =>
true,
44 'list_class' =>
'elgg-admin-users',
56 echo
elgg_view(
'page/components/no_results', [
65 'class' => [
'elgg-menu-hz',
'elgg-admin-users-bulkactions-buttons'],
66 'item_contents_view' =>
'navigation/menu/elements/item/submit',
71 'show_delete' =>
true,
72 'show_validate' =>
false,
if(empty($users)) $default_menu_vars
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
const ELGG_SHOW_DISABLED_ENTITIES
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_list_entities(array $options=[], ?callable $getter=null, ?callable $viewer=null)
Returns a string of rendered entities.
elgg_import_esm(string $name)
Helper functions for external files like css/js.
elgg_require_css(string $view)
Register a CSS view name to be included in the HTML head.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_menu($menu, array $vars=[])
Render a menu.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.