Elgg
Version master
|
Go to the source code of this file.
Variables | |
$item = elgg_extract('item', $vars) | |
Body of river item. More... | |
if(! $item instanceof \ElggRiverItem) | $metadata = elgg_extract('metadata', $vars) |
if(!isset($metadata)) if(!empty($metadata)) | $timestamp = elgg_view_friendly_time($item->getTimePosted()) |
if(!empty($timestamp)) | $summary = elgg_extract('summary', $vars) |
if(!empty($summary)) | $message = elgg_extract('message', $vars) |
if(!empty($message)) | $attachments = elgg_extract('attachments', $vars) |
if(!empty($attachments)) | $responses = elgg_view('river/elements/responses', $vars) |
if (!empty( $message)) $attachments = elgg_extract('attachments', $vars) |
$item = elgg_extract('item', $vars) |
Body of river item.
@uses $vars['item'] ElggRiverItem @uses $vars['summary'] Alternate summary (the short text summary of action) @uses $vars['message'] Optional message (usually excerpt of text) @uses $vars['attachments'] Optional attachments (displaying icons or other non-text data) @uses $vars['responses'] Alternate respones (comments, replies, etc.)
if (!empty( $summary)) $message = elgg_extract('message', $vars) |
if (! $item instanceof \ElggRiverItem) $metadata = elgg_extract('metadata', $vars) |
if (!isset( $summary)) if ( $summary===false) $summary = elgg_extract('summary', $vars) |
if (!isset( $metadata)) if (!empty( $metadata)) $timestamp = elgg_view_friendly_time($item->getTimePosted()) |