28 'class' =>
'elgg-river-object',
46 "river:{$type}:{$subtype}:{$action}",
47 "river:{$type}:{$subtype}:default",
48 "river:{$type}:{$action}",
49 "river:{$type}:default",
51 foreach (
$keys as $try_key) {
63 echo trim(
"$summary $group_string");
if(! $owner instanceof ElggEntity) $summary
getDisplayName()
Get the entity's display name.
getContainerEntity()
Get the container entity for this object.
getURL()
Gets the URL for this entity.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_language_key_exists(string $key, string $language='en')
Check if a given language key exists.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
elgg_get_excerpt(string $text, int $num_chars=250)
Returns an excerpt.
elgg_get_page_owner_guid()
Elgg page owner library.
if(! $object instanceof ElggEntity) $subject_link
if(! $subject instanceof ElggEntity) $object
$item
Short summary of the action that occurred.
if(! $item instanceof ElggRiverItem) $subject
if($container instanceof ElggGroup && $container->guid !=elgg_get_page_owner_guid()) $key