20 'name' =>
"breadcrumb-{$i}",
42 'href' => $entity->
getURL(),
62 'name' =>
'container',
69 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:friends";
70 }
elseif ($entity_type ===
'group') {
71 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:all";
73 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:owner";
75 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:group";
77 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:all";
79 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:container";
87 if ($parameters !==
false) {
91 $label =
elgg_echo(
"collection:{$entity_type}:{$entity_subtype}:friends");
99 'name' =>
'collection',
109 $all_route_name =
"collection:{$entity_type}:{$entity_subtype}:all";
115 'name' =>
'collection',
116 'text' =>
elgg_echo(
"collection:{$entity_type}:{$entity_subtype}"),
elgg_push_breadcrumb(string $text, string|false $href=false)
Breadcrumbs.
elgg_route_exists(string $name)
Check if a route is registered.
elgg_get_current_route_name()
Get the route name for the current request.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if($item instanceof\ElggEntity) elseif($item instanceof\ElggRiverItem) elseif($item instanceof\ElggRelationship) elseif(is_callable([$item, 'getType']))
elgg_push_entity_breadcrumbs(\ElggEntity $entity)
Resolves and pushes entity breadcrumbs based on named routes.
elgg_language_key_exists(string $key, string $language= 'en')
Check if a given language key exists.
elgg_push_collection_breadcrumbs(string $entity_type, string $entity_subtype,\ElggEntity $container=null, bool $friends=false)
Resolves and pushes collection breadcrumbs for a container.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.
_elgg_services()
Get the global service provider.
getContainerEntity()
Get the container entity for this object.
getURL()
Gets the URL for this entity.
getDisplayName()
Get the entity's display name.
elgg_register_menu_item(string $menu_name, array|\ElggMenuItem $menu_item)
Elgg navigation library Functions for managing menus and other navigational elements.