19 if (!
$object instanceof ElggEntity) {
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");
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.
if(!$item instanceof ElggRiverItem) $subject
elgg_get_page_owner_guid()
Elgg page owner library.
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
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
if(!$owner instanceof ElggEntity) $summary
getContainerEntity()
Get the container entity for this object.
getURL()
Gets the URL for this entity.
$item
Short summary of the action that occurred.
if(!$subject instanceof ElggEntity) $object
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
getDisplayName()
Get the entity's display name.