Elgg  Version 1.9
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"
 
 $summary = elgg_echo($key, array($subject_link, $target_link))
 
 if ($summary==$key)
 

Variable Documentation

$comment = $item->getObjectEntity()

Definition at line 8 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 28 of file create.php.

$subject = $item->getSubjectEntity()

Definition at line 9 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(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$subject
Definition: create.php:9

Definition at line 12 of file create.php.

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

Definition at line 27 of file create.php.

$summary = elgg_echo($key, array($subject_link, $target_link))

Definition at line 29 of file create.php.

$target = $item->getTargetEntity()

Definition at line 10 of file create.php.

$target_link
Initial value:
= elgg_view('output/url', array(
'href' => $target->getURL(),
'text' => $target->getDisplayName(),
'class' => 'elgg-river-target',
'is_trusted' => true,
))
$target
Definition: create.php:10
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354

Definition at line 19 of file create.php.

$type = $target->getType()

Definition at line 26 of file create.php.

if($summary==$key)

Definition at line 30 of file create.php.