Elgg  Version master
Variables
create.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Create friend river view. More...
 
if(!$item instanceof ElggRiverItem$subject = $item->getSubjectEntity()
 
 $object = $item->getObjectEntity()
 
if(!$subject instanceof ElggUser||!$object instanceof ElggUser$subject_icon = elgg_view_entity_icon($subject, 'small')
 
 $object_icon = elgg_view_entity_icon($object, 'small')
 
 $vars ['attachments'] = $subject_icon . elgg_view_icon('arrow-right') . $object_icon
 
 $vars ['responses'] = false
 

Variable Documentation

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

Create friend river view.

Definition at line 6 of file create.php.

$object = $item->getObjectEntity()

Definition at line 12 of file create.php.

$object_icon = elgg_view_entity_icon($object, 'small')

Definition at line 19 of file create.php.

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

Definition at line 11 of file create.php.

if (!$subject instanceof ElggUser||!$object instanceof ElggUser) $subject_icon = elgg_view_entity_icon($subject, 'small')

Definition at line 18 of file create.php.

$vars['attachments'] = $subject_icon . elgg_view_icon('arrow-right') . $object_icon

Definition at line 21 of file create.php.

$vars['responses'] = false

Definition at line 22 of file create.php.