Elgg  Version 3.0
Variables
layout.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 RSS river view. More...
 
if(!$item instanceof ElggRiverItem$name = $item->getSubjectEntity()->getDisplayName()
 
 $title = elgg_echo('river:update', [$name])
 
 $timestamp = date('r', $item->getTimePosted())
 
 $summary = elgg_view('river/elements/summary', $vars, 'default')
 
 $body = elgg_extract('summary', $vars, $summary)
 
 $object = $item->getObjectEntity()
 
if($object) else
 
 $site_url = parse_url(elgg_get_site_url())
 
 $domain = htmlspecialchars($site_url['host'], ENT_NOQUOTES, 'UTF-8')
 
 $path = ''
 
if($site_url['path']) $html
 

Variable Documentation

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

Definition at line 22 of file layout.php.

$domain = htmlspecialchars($site_url['host'], ENT_NOQUOTES, 'UTF-8')

Definition at line 32 of file layout.php.

if ($site_url['path']) $html
Initial value:
= <<<__HTML
<guid isPermaLink="false">$domain$path::river::$item->id</guid>
<pubDate>$timestamp</pubDate>
<link>$url</link>
<title><![CDATA[$title]]></title>
<description><![CDATA[$body]]></description>
__HTML
$body
Definition: layout.php:22
$item
Layout of a river item.
Definition: layout.php:8
if(!$site) if(!($site instanceof ElggSite)) $site description
$timestamp
Definition: layout.php:17
$url
Definition: default.php:33
$title
Definition: layout.php:15
$domain
Definition: layout.php:32

Definition at line 39 of file layout.php.

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

RSS river view.

$vars['item']

Definition at line 8 of file layout.php.

$name = $item->getSubjectEntity()->getDisplayName()

Definition at line 13 of file layout.php.

$object = $item->getObjectEntity()

Definition at line 24 of file layout.php.

$path = ''

Definition at line 33 of file layout.php.

$site_url = parse_url(elgg_get_site_url())

Definition at line 31 of file layout.php.

$summary = elgg_view('river/elements/summary', $vars, 'default')

Definition at line 19 of file layout.php.

$timestamp = date('r', $item->getTimePosted())

Definition at line 17 of file layout.php.

$title = elgg_echo('river:update', [$name])

Definition at line 15 of file layout.php.

if ($object) else
Initial value:
{
$url = elgg_normalize_url('activity')
elgg_normalize_url($url)
Definition: output.php:186
$url
Definition: default.php:33

Definition at line 27 of file layout.php.