Elgg  Version master
Variables
responses.php File Reference

Go to the source code of this file.

Variables

if(!elgg_extract('show_responses', $vars, true)) $entity = elgg_extract('entity', $vars)
 Outputs responses. More...
 
 $responses = elgg_extract('responses', $vars)
 
if($responses===null &&($entity instanceof \ElggEntity)) if (empty( $responses))
 

Variable Documentation

◆ $entity

if (!elgg_extract( 'show_responses', $vars, true)) $entity = elgg_extract('entity', $vars)

Outputs responses.

@uses $vars['responses'] Responses HTML @uses $vars['show_add_form'] Boolean to control if a comment add form is allowed to show (default: true)

Definition at line 14 of file responses.php.

◆ $responses

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

Definition at line 16 of file responses.php.

◆ if

if ( $responses===null &&( $entity instanceof \ElggEntity)) if(empty($responses)) ( empty( $responses)  )

Definition at line 21 of file responses.php.