Elgg  Version 3.0
Variables
responses.php File Reference

Go to the source code of this file.

Variables

 $responses = elgg_extract('responses', $vars)
 
if(isset($responses)) $item = elgg_extract('item', $vars)
 
if(!$item instanceof ElggRiverItem$object = $item->getObjectEntity()
 
if(!empty($item->annotation_id)||!$object instanceof ElggEntity||$object instanceof ElggComment$comment_count = $object->countComments()
 
if($comment_count) if(!$object->canComment()) $form_vars = ['id' => "comments-add-{$object->guid}-{$item->id}"
 
if($comment_count) if(!$object->canComment()) $body_vars = ['entity' => $object
 

Variable Documentation

if ($comment_count) if (!$object->canComment()) $body_vars = ['entity' => $object

Definition at line 68 of file responses.php.

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

Definition at line 30 of file responses.php.

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

Definition at line 67 of file responses.php.

if (isset($responses)) $item = elgg_extract('item', $vars)

Definition at line 18 of file responses.php.

if (!$item instanceof ElggRiverItem) $object = $item->getObjectEntity()
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 23 of file responses.php.

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

Definition at line 12 of file responses.php.