28 "river:$type:$subtype:comment",
29 "river:$type:default:comment",
31 foreach (
$keys as $try_key) {
elgg_get_excerpt(string $text, int $num_chars=250)
Returns an excerpt.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_language_key_exists(string $key, string $language= 'en')
Check if a given language key exists.
if(!$object instanceof ElggEntity) $subject_link
elgg_substr()
Wrapper function for mb_substr().
elgg_view_url(string $href, string $text=null, array $options=[])
Helper function for outputting urls.
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.