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

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $annotation = $vars['annotation']
 
 $poster = $annotation->getOwnerEntity()
 
 $poster_name = htmlspecialchars($poster->name, ENT_NOQUOTES, 'UTF-8')
 
 $pubdate = date('r', $annotation->getTimeCreated())
 
 $permalink = $annotation->getURL()
 
 $title = elgg_echo('generic_comment:title', array($poster_name))
 
 $creator = elgg_view('page/components/creator', array('entity' => $annotation))
 
 $extensions = elgg_view('extensions/item', $vars)
 
 $item
 

Variable Documentation

$annotation = $vars['annotation']

Definition at line 9 of file generic_comment.php.

$creator = elgg_view('page/components/creator', array('entity' => $annotation))

Definition at line 18 of file generic_comment.php.

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

Definition at line 19 of file generic_comment.php.

$item
Initial value:
= <<<__HTML
<guid isPermaLink='true'>$permalink</guid>
<pubDate>$pubdate</pubDate>
<link>$permalink</link>
<title><![CDATA[$title]]></title>
<description><![CDATA[{$vars['annotation']->value}]]></description>
</item>
__HTML
$creator
$extensions
$permalink
$vars['entity']
ui autocomplete ui menu item
Definition: forms.css.php:250
if(!$site) if(!($site instanceof ElggSite)) $site description
$pubdate

Definition at line 21 of file generic_comment.php.

$permalink = $annotation->getURL()

Definition at line 14 of file generic_comment.php.

$poster = $annotation->getOwnerEntity()

Definition at line 11 of file generic_comment.php.

$poster_name = htmlspecialchars($poster->name, ENT_NOQUOTES, 'UTF-8')

Definition at line 12 of file generic_comment.php.

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

Definition at line 13 of file generic_comment.php.

$title = elgg_echo('generic_comment:title', array($poster_name))

Definition at line 16 of file generic_comment.php.