Elgg  Version 2.3
Variables
responses.php File Reference

Go to the source code of this file.

Variables

 $responses = elgg_extract('responses', $vars, false)
 River item footer. More...
 
if($responses) $item = $vars['item']
 
 $object = $item->getObjectEntity()
 
if($item->annotation_id!=0||!$object||$object instanceof ElggComment$comment_count = $object->countComments()
 
if($comment_count) if(!$object->canComment()) $form_vars = array('id' => "comments-add-{$object->guid}-{$item->id}", 'class' => 'hidden')
 
 $body_vars = array('entity' => $object, 'inline' => true)
 

Variable Documentation

$body_vars = array('entity' => $object, 'inline' => true)

Definition at line 68 of file responses.php.

if ($item->annotation_id!=0||!$object||$object instanceof ElggComment) $comment_count = $object->countComments()

Definition at line 25 of file responses.php.

if ($comment_count) if (!$object->canComment()) $form_vars = array('id' => "comments-add-{$object->guid}-{$item->id}", 'class' => 'hidden')

Definition at line 67 of file responses.php.

if ($responses) $item = $vars['item']

Definition at line 16 of file responses.php.

$object = $item->getObjectEntity()

Definition at line 18 of file responses.php.

$responses = elgg_extract('responses', $vars, false)

River item footer.

$vars['item'] ElggRiverItem $vars['responses'] Alternate override for this item

Definition at line 10 of file responses.php.