Elgg  Version 1.9
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, elgg_view('river/elements/summary', array('item' => $vars['item'])))
 
if($summary===false) $message = elgg_extract('message', $vars, false)
 
if($message!==false) $attachments = elgg_extract('attachments', $vars, false)
 
if($attachments!==false) $responses = elgg_view('river/elements/responses', $vars)
 
if($responses) $group_string = ''
 
 $object = $item->getObjectEntity()
 
 $container = $object->getContainerEntity()
 

Variable Documentation

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

Definition at line 39 of file body.php.

$container = $object->getContainerEntity()

Definition at line 51 of file body.php.

if ($responses) $group_string = ''

Definition at line 49 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_name, array $vars=array())
Render a menu.
Definition: views.php:687
$item
Body of river item.
Definition: body.php:12

Definition at line 14 of file body.php.

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

Definition at line 34 of file body.php.

$object = $item->getObjectEntity()

Definition at line 50 of file body.php.

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

Definition at line 44 of file body.php.

$summary = elgg_extract('summary', $vars, elgg_view('river/elements/summary', array('item' => $vars['item'])))

Definition at line 23 of file body.php.

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

Definition at line 21 of file body.php.