Elgg  Version 2.3
Variables
body.php File Reference

Go to the source code of this file.

Variables

 $item = $vars['item']
 Body of river item. More...
 
 $menu
 
 $timestamp = elgg_view_friendly_time($item->getTimePosted())
 
 $summary = elgg_extract('summary', $vars)
 
if($summary===null) if($summary===false) $message = elgg_extract('message', $vars)
 
if($message!==null) $attachments = elgg_extract('attachments', $vars)
 
if($attachments!==null) $responses = elgg_view('river/elements/responses', $vars)
 
if($responses) $group_string = ''
 
 $object = $item->getObjectEntity()
 
 $container = $object->getContainerEntity()
 

Variable Documentation

if ($message!==null) $attachments = elgg_extract('attachments', $vars)

Definition at line 46 of file body.php.

$container = $object->getContainerEntity()

Definition at line 58 of file body.php.

if ($responses) $group_string = ''

Definition at line 56 of file body.php.

$item = $vars['item']

Body of river item.

$vars['item'] ElggRiverItem $vars['summary'] Alternate summary (the short text summary of action) $vars['message'] Optional message (usually excerpt of text) $vars['attachments'] Optional attachments (displaying icons or other non-text data) $vars['responses'] Alternate respones (comments, replies, etc.)

Definition at line 12 of file body.php.

$menu
Initial value:
= elgg_view_menu('river', array(
'item' => $item,
'sort_by' => 'priority',
'class' => 'elgg-menu-hz',
))
elgg_view_menu($menu, array $vars=array())
Render a menu.
Definition: views.php:775
$item
Body of river item.
Definition: body.php:12

Definition at line 15 of file body.php.

if ($summary===null) if ($summary===false) $message = elgg_extract('message', $vars)

Definition at line 41 of file body.php.

$object = $item->getObjectEntity()

Definition at line 57 of file body.php.

if ($attachments!==null) $responses = elgg_view('river/elements/responses', $vars)

Definition at line 51 of file body.php.

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

Definition at line 24 of file body.php.

$timestamp = elgg_view_friendly_time($item->getTimePosted())

Definition at line 22 of file body.php.