Elgg  Version 3.0
Namespaces | Variables
default.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Configuration exception.
 

Variables

 $entity = elgg_extract('entity', $vars)
 
if(!$entity instanceof ElggEntity$title = $entity->getDisplayName()
 
if(empty($title)) $permalink = htmlspecialchars($entity->getURL(), ENT_NOQUOTES, 'UTF-8')
 
 $pubdate = date('r', $entity->getTimeCreated())
 
 $description = elgg_autop($entity->description)
 
 $creator = elgg_view('page/components/creator', $vars)
 
 $georss = elgg_view('page/components/georss', $vars)
 
 $extension = elgg_view('extensions/item', $vars)
 
 $item
 

Variable Documentation

$creator = elgg_view('page/components/creator', $vars)

Definition at line 25 of file default.php.

Definition at line 23 of file default.php.

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

Definition at line 9 of file default.php.

$extension = elgg_view('extensions/item', $vars)

Definition at line 27 of file default.php.

$georss = elgg_view('page/components/georss', $vars)

Definition at line 26 of file default.php.

$item
Initial value:
= <<<__HTML
<item>
<guid isPermaLink="true">$permalink</guid>
<pubDate>$pubdate</pubDate>
<link>$permalink</link>
<title><![CDATA[$title]]></title>
</item>
__HTML
$description
Definition: default.php:23
if(!$entity instanceof ElggEntity) $permalink
Definition: default.php:14
$creator
Definition: default.php:26
if(!$site) if(!($site instanceof ElggSite)) $site description
$georss
Definition: default.php:27
$title
Definition: default.php:31
$pubdate
Definition: default.php:15
$extension
Definition: default.php:28

Definition at line 29 of file default.php.

if (empty($title)) $permalink = htmlspecialchars($entity->getURL(), ENT_NOQUOTES, 'UTF-8')

Definition at line 20 of file default.php.

$pubdate = date('r', $entity->getTimeCreated())

Definition at line 21 of file default.php.

if (!$entity instanceof ElggEntity) $title = $entity->getDisplayName()

Definition at line 14 of file default.php.