Elgg
Version 6.0
|
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.
$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.)
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()) |