Elgg  Version 3.0
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
 
 $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
Initial value:
= elgg_view('output/url', [
'href' => $subject->getURL(),
'text' => $subject->getDisplayName(),
'class' => 'elgg-river-subject',
'is_trusted' => true,
])
if(!$item instanceof ElggRiverItem) $subject
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 16 of file profileiconupdate.php.

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

Definition at line 23 of file profileiconupdate.php.

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

Definition at line 24 of file profileiconupdate.php.

$vars['responses'] = false

Definition at line 28 of file profileiconupdate.php.