Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
layout.php File Reference

Go to the source code of this file.

Variables

 $item = $vars['item']
 RSS river view. More...
 
 $name = $item->getSubjectEntity()->name
 
 $title = elgg_echo('river:update', array($name))
 
 $timestamp = date('r', $item->getTimePosted())
 
 $summary = elgg_view('river/elements/summary', $vars, false, false, '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 15 of file layout.php.

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

Definition at line 26 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
$url
Definition: exceptions.php:24
$body
Definition: layout.php:15
$item
Layout of a river item.
Definition: layout.php:8
if(!$site) if(!($site instanceof ElggSite)) $site description
$timestamp
Definition: layout.php:13
$title
Definition: layout.php:11
$domain
Definition: layout.php:26

Definition at line 33 of file layout.php.

$item = $vars['item']

RSS river view.

$vars['item']

Definition at line 7 of file layout.php.

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

Definition at line 9 of file layout.php.

$object = $item->getObjectEntity()

Definition at line 18 of file layout.php.

$path = ''

Definition at line 27 of file layout.php.

$site_url = parse_url(elgg_get_site_url())

Definition at line 25 of file layout.php.

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

Definition at line 14 of file layout.php.

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

Definition at line 13 of file layout.php.

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

Definition at line 11 of file layout.php.

if ($object) else
Initial value:
{
$url = elgg_normalize_url('activity')
elgg_normalize_url($url)
Definition: output.php:290
$url
Definition: exceptions.php:24

Definition at line 21 of file layout.php.