15     'subtype' => 
'comment',
 
   18     'preload_owners' => 
true,
 
   30     $options[
'joins'] = array(
"JOIN {$db_prefix}entities ce ON e.container_guid = ce.guid");
 
   36     $options[
'wheres'][] = 
"ce.owner_guid = $owner_guid";
 
   42     $options[
'wheres'][] = 
"ce.container_guid = $container_guid";
 
   49         $subtype_ids = array();
 
   57             $subtype_string = implode(
',', $subtype_ids);
 
   58             $options[
'wheres'][] = 
"ce.subtype IN ($subtype_string)";
 
   65         $options[
'wheres'][] = 
"ce.subtype = $subtype_id";
 
   74         'pagination' => 
false,
 
   75         'list_class' => 
'elgg-latest-comments',
 
if(! $collection_name) $id
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
get_subtype_id($type, $subtype)
Return the id for a given subtype.
elgg_get_entities(array $options=array())
Returns an array of entities with optional filtering.
if(file_exists($welcome)) $vars
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
if(! $num_display) $db_prefix