Elgg  Version master
Variables
profileiconupdate.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Update avatar river view. More...
 
if(!$item instanceof ElggRiverItem$subject = $item->getSubjectEntity()
 
if(!$subject instanceof ElggUser$subject_link = elgg_view_entity_url($subject, ['class' => 'elgg-river-subject'])
 
 $vars ['summary'] = elgg_echo('river:update:user:avatar', [$subject_link])
 
 $vars ['attachments']
 
 $vars ['responses'] = false
 

Variable Documentation

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

Update avatar river view.

Definition at line 6 of file profileiconupdate.php.

if (!$item instanceof ElggRiverItem) $subject = $item->getSubjectEntity()

Definition at line 11 of file profileiconupdate.php.

if (!$subject instanceof ElggUser) $subject_link = elgg_view_entity_url($subject, ['class' => 'elgg-river-subject'])

Definition at line 16 of file profileiconupdate.php.

$vars['summary'] = elgg_echo('river:update:user:avatar', [$subject_link])

Definition at line 18 of file profileiconupdate.php.

$vars['attachments']
Initial value:
'use_hover' => false,
'use_link' => false,
])
elgg_view_entity_icon(\ElggEntity $entity, string $size= 'medium', array $vars=[])
View the icon of an entity.
Definition: views.php:542
if(!$item instanceof ElggRiverItem) $subject

Definition at line 19 of file profileiconupdate.php.

$vars['responses'] = false

Definition at line 23 of file profileiconupdate.php.