Elgg  Version 2.3
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

$annotation = $vars['annotation']

Definition at line 9 of file generic_comment.php.

◆ $creator

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

Definition at line 18 of file generic_comment.php.

◆ $extensions

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

Definition at line 19 of file generic_comment.php.

◆ $item

$item =

Definition at line 21 of file generic_comment.php.

◆ $permalink

$permalink = $annotation->getURL()

Definition at line 14 of file generic_comment.php.

◆ $poster

$poster = $annotation->getOwnerEntity()

Definition at line 11 of file generic_comment.php.

◆ $poster_name

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

Definition at line 12 of file generic_comment.php.

◆ $pubdate

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

Definition at line 13 of file generic_comment.php.

◆ $title

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

Definition at line 16 of file generic_comment.php.