15 elgg_echo(
'table_columns:fromProperty:name'),
19 elgg_echo(
'table_columns:fromProperty:username'),
23 elgg_echo(
'table_columns:fromProperty:email'),
27 elgg_echo(
'table_columns:fromView:time_created'),
28 elgg_view(
'output/datetime-local', [
'value' =>
$entity->time_created,
'format' =>
elgg_echo(
'friendlytime:date_format')]),
36 'event' =>
'create:user',
37 'object_type' =>
'user',
42 if ($log && !empty($log->ip_address)) {
43 return [
' - ' .
elgg_echo(
'usersettings:statistics:login_history:ip'), $log->ip_address];
45 }
catch (\DI\NotFoundException $e) {
50 elgg_echo(
'table_columns:fromView:time_updated'),
51 elgg_view(
'output/datetime-local', [
'value' =>
$entity->time_updated,
'format' =>
elgg_echo(
'friendlytime:date_format')]),
54 elgg_echo(
'table_columns:fromView:last_action'),
58 elgg_echo(
'table_columns:fromView:last_login'),
62 elgg_echo(
'table_columns:fromView:prev_last_login'),
63 elgg_view(
'output/datetime-local', [
'value' =>
$entity->prev_last_login,
'format' =>
elgg_echo(
'friendlytime:date_format')]),
66 elgg_echo(
'table_columns:fromView:admin'),
70 elgg_echo(
'table_columns:fromView:banned'),
74 elgg_echo(
'table_columns:fromProperty:validated'),
83 if (is_callable($row)) {
84 $row = call_user_func($row);
85 if (!is_array($row)) {
90 foreach ($row as $cell) {
$entity
Show user attributes in admin listings.
if(! $entity instanceof \ElggUser) $data
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_is_active_plugin(string $plugin_id)
Returns if a plugin is active for a current site.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.