32 foreach (
$items as $crumb) {
38 if (empty($last->getHref())) {
39 elgg_log(
"Having a breadcrumb at the end of the list without a link makes no sense. Please update your code for the '{$last->getText()}[{$last->getID()}]' breadcrumb.", \Psr\Log\LogLevel::NOTICE);
40 $breadcrumbs->getSection(
'default')->remove($last->getID());
42 elgg_log(
"Having a breadcrumb at the end of the list which links to the current page makes no sense. Please update your code for the '{$last->getText()}[{$last->getID()}]' breadcrumb.", \Psr\Log\LogLevel::NOTICE);
43 $breadcrumbs->getSection(
'default')->remove($last->getID());
56 $return = $event->getValue();
59 $items = $return->getItems(
'default');
77 $return->getSection(
'default')->fill(
$items);
elgg_in_context(string $context)
Check if this context exists anywhere in the stack.
elgg_get_excerpt(string $text, int $num_chars=250)
Returns an excerpt.
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
if($item instanceof\ElggEntity) elseif($item instanceof\ElggRiverItem) elseif($item instanceof\ElggRelationship) elseif(is_callable([$item, 'getType']))
elgg_log($message, $level=\Psr\Log\LogLevel::NOTICE)
Log a message.
elgg_get_current_url()
Returns the current page's complete URL.
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
elgg_get_site_entity()
Get the current site entity.
elgg_http_url_is_identical(string $url1, string $url2, array $ignore_params=['offset', 'limit'])
Test if two URLs are functionally identical.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.
$breadcrumbs
Layout breadcrumbs.
Models an event passed to event handlers.