28 unset(
$vars[
'internalid']);
32 'subtype' =>
'comment',
33 'container_guid' =>
$vars[
'entity']->guid,
34 'reverse_order_by' =>
true,
37 'preload_owners' =>
true,
39 'url_fragment' =>
$attr[
'id'],
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set.
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
elgg_list_entities(array $options=array(), $getter='elgg_get_entities', $viewer='elgg_view_entity_list')
Returns a string of rendered entities.
elgg_view_form($action, $form_vars=array(), $body_vars=array())
elgg_format_element($tag_name, array $attributes=array(), $text='', array $options=array())
Format an HTML element.