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

Go to the source code of this file.

Variables

 $item = $vars['item']
 Post comment river view. More...
 
 $comment = $item->getObjectEntity()
 
 $subject = $item->getSubjectEntity()
 
 $target = $item->getTargetEntity()
 
 $subject_link
 
 $target_link
 
 $type = $target->getType()
 
 $subtype = $target->getSubtype() ? $target->getSubtype() : 'default'
 
 $key = "river:comment:$type:$subtype"
 
if(!elgg_language_key_exists($key)) $summary = elgg_echo($key, array($subject_link, $target_link))
 

Variable Documentation

$comment = $item->getObjectEntity()

Definition at line 9 of file create.php.

$item = $vars['item']

Post comment river view.

Definition at line 6 of file create.php.

$key = "river:comment:$type:$subtype"

Definition at line 29 of file create.php.

$subject = $item->getSubjectEntity()

Definition at line 10 of file create.php.

$subject_link
Initial value:
= elgg_view('output/url', array(
'href' => $subject->getURL(),
'text' => $subject->name,
'class' => 'elgg-river-subject',
'is_trusted' => true,
))
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
$subject
Definition: create.php:10

Definition at line 13 of file create.php.

$subtype = $target->getSubtype() ? $target->getSubtype() : 'default'

Definition at line 28 of file create.php.

if (!elgg_language_key_exists($key)) $summary = elgg_echo($key, array($subject_link, $target_link))

Definition at line 33 of file create.php.

$target = $item->getTargetEntity()

Definition at line 11 of file create.php.

$target_link
Initial value:
= elgg_view('output/url', array(
'href' => $comment->getURL(),
'text' => $target->getDisplayName(),
'class' => 'elgg-river-target',
'is_trusted' => true,
))
$target
Definition: create.php:11
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
$comment
Definition: create.php:9

Definition at line 20 of file create.php.

$type = $target->getType()

Definition at line 27 of file create.php.