Elgg  Version 2.3
newest.php
Go to the documentation of this file.
1 <?php
2 
3 $view = "admin/users/newest.css";
6 
7 // newest users
9  'type' => 'user',
10  'subtype'=> null,
11  'full_view' => false,
12  'list_type' => 'table',
13  'columns' => [
14  elgg()->table_columns->user(),
15  elgg()->table_columns->username(),
16  elgg()->table_columns->email(),
17  elgg()->table_columns->time_created(null, [
18  'format' => 'friendly',
19  ]),
20  ],
21  'list_class' => 'elgg-newest-users',
22 ]);
23 
24 echo elgg_view_module('inline', elgg_echo('admin:users:newest'), $users);
elgg
Definition: install.js:23
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_get_simplecache_url($view, $subview= '')
Get the URL for the cached view.
Definition: cache.php:136
elgg_register_css($name, $url, $priority=null)
Register a CSS file for inclusion in the HTML head.
Definition: elgglib.php:271
elgg_load_css($name)
Load a CSS file for this page.
Definition: elgglib.php:298
$users
Definition: newest.php:8
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1250
elgg_list_entities(array $options=array(), $getter= 'elgg_get_entities', $viewer= 'elgg_view_entity_list')
Returns a string of rendered entities.
Definition: entities.php:393
$view
Definition: newest.php:3