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

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

Definition at line 68 of file responses.php.

◆ $comment_count

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

Definition at line 25 of file responses.php.

◆ $form_vars

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.

◆ $item

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

Definition at line 16 of file responses.php.

◆ $object

$object = $item->getObjectEntity()

Definition at line 18 of file responses.php.

◆ $responses

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

River item footer.

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

Definition at line 10 of file responses.php.