Elgg  Version 1.9
create.php
Go to the documentation of this file.
1 <?php
5 $subject = $vars['item']->getSubjectEntity();
6 $object = $vars['item']->getObjectEntity();
7 
10 
11 echo elgg_view('river/elements/layout', array(
12  'item' => $vars['item'],
13  'attachments' => $subject_icon . elgg_view_icon('arrow-right') . $object_icon,
14 ));
elgg_view_icon($name, $class= '')
View one of the elgg sprite icons.
Definition: views.php:1370
$object
Definition: create.php:6
elgg_view_entity_icon(ElggEntity $entity, $size= 'medium', $vars=array())
View the icon of an entity.
Definition: views.php:862
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$subject_icon
Definition: create.php:8
$subject
Definition: create.php:9
$object_icon
Definition: create.php:9
if(file_exists($welcome)) $vars
Definition: upgrade.php:93