Elgg  Version 6.1
Variables
profile.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Show user profile information in admin listings. More...
 
if(!$entity instanceof\ElggUser) $fields = elgg()->fields->get('user', 'user')
 
if(empty($fields)) $microformats
 
 $output = ''
 
foreach($fields as $field) if (empty($output))
 

Variable Documentation

$entity = elgg_extract('entity', $vars)

Show user profile information in admin listings.

$vars['entity'] The user entity to show $vars['microformats'] Mapping of fieldnames to microformats

Definition at line 9 of file profile.php.

if (!$entity instanceof\ElggUser) $fields = elgg()->fields->get('user', 'user')

Definition at line 14 of file profile.php.

if (empty($fields)) $microformats
Initial value:
= [
'mobile' => 'tel p-tel'

Definition at line 22 of file profile.php.

$output = ''

Definition at line 30 of file profile.php.

foreach ($fields as $field) if(empty($output))

Definition at line 56 of file profile.php.