36 'subtype' =>
'comment',
37 'container_guid' =>
$entity->guid,
43 'list_class' =>
'comments-list',
56 'subtype' =>
'comment',
57 'container_guid' =>
$entity->guid,
59 'wheres' => [$condition],
76 'text' =>
elgg_echo(
'generic_comments:add'),
79 'class' => [
'elgg-button',
'elgg-button-action'],
81 'data-toggle-selector' =>
'.elgg-form-comment-save',
const ELGG_VALUE_INTEGER
Value types.
Database abstraction query builder.
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
elgg_list_entities(array $options=[], $getter= 'elgg_get_entities', $viewer= 'elgg_view_entity_list')
Returns a string of rendered entities.
if(!elgg_view_exists("plugins/{$plugin_id}/settings")) $form_vars
elgg_view_menu($menu, array $vars=[])
Render a menu.
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
elgg_view_form($action, $form_vars=[], $body_vars=[])
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
elgg echo
Translates a string.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Extends QueryBuilder with ORDER BY clauses.