Elgg  Version 1.11
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()
 
 $target = $item->getTargetEntity()
 
if($item->annotation_id !=0||! $object||elgg_instanceof($target, 'object', 'comment')) $comment_count = $object->countComments()
 
if($comment_count) $form_vars = array('id' => "comments-add-{$object->getGUID()}", 'class' => 'hidden')
 
 $body_vars = array('entity' => $object, 'inline' => true)
 

Variable Documentation

◆ $body_vars

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

Definition at line 59 of file responses.php.

◆ $comment_count

if ( $item->annotation_id !=0||! $object||elgg_instanceof( $target, 'object', 'comment')) $comment_count = $object->countComments()

Definition at line 26 of file responses.php.

◆ $form_vars

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

Definition at line 58 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.

◆ $target

$target = $item->getTargetEntity()

Definition at line 19 of file responses.php.