| 
    Elgg
    Version 1.12
    
   | 
 
Go to the source code of this file.
Variables | |
| $options | |
| Display the latest related comments.  More... | |
| $owner_guid = elgg_extract('owner_guid', $vars) | |
| $container_guid = elgg_extract('container_guid', $vars) | |
| $subtypes = elgg_extract('subtypes', $vars) | |
| if($owner_guid|| $container_guid|| $subtypes) if($owner_guid) if($container_guid) if($subtypes) | $title = elgg_echo('generic_comments:latest') | 
| $comments = elgg_get_entities($options) | |
| if($comments) | else | 
| $comments = elgg_get_entities($options) | 
Definition at line 70 of file comments_block.php.
| $container_guid = elgg_extract('container_guid', $vars) | 
Definition at line 23 of file comments_block.php.
| $options | 
Display the latest related comments.
Generally used in a sidebar.
@uses $vars['subtypes'] Object subtype string or array of subtypes @uses $vars['owner_guid'] The owner of the content being commented on @uses $vars['container_guid'] The container of the content being commented on @uses $vars['limit'] The number of comments to display
Definition at line 13 of file comments_block.php.
| $owner_guid = elgg_extract('owner_guid', $vars) | 
Definition at line 22 of file comments_block.php.
| $subtypes = elgg_extract('subtypes', $vars) | 
Definition at line 24 of file comments_block.php.
| if ( $owner_guid||$container_guid||$subtypes) if ( $owner_guid) if ( $container_guid) if ( $subtypes) $title = elgg_echo('generic_comments:latest') | 
Definition at line 69 of file comments_block.php.
Definition at line 78 of file comments_block.php.