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) {
elgg_language_key_exists($key, $language= 'en')
Check if a given language key exists.
if(!$item instanceof ElggRiverItem) $subject
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
elgg_get_page_owner_guid()
Elgg page owner library.
if(!$object instanceof ElggEntity) $subject_link
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
elgg_get_excerpt($text, $num_chars=250)
Returns an excerpt.
if(!$owner instanceof ElggEntity) $summary
elgg echo
Translates a string.
getContainerEntity()
Get the container entity for this object.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
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.