Elgg
Version 6.1
|
Go to the source code of this file.
Functions | |
elgg_push_breadcrumb (string $text, string|false $href=false) | |
Breadcrumbs. More... | |
elgg_push_entity_breadcrumbs (\ElggEntity $entity) | |
Resolves and pushes entity breadcrumbs based on named routes. More... | |
elgg_push_collection_breadcrumbs (string $entity_type, string $entity_subtype,\ElggEntity $container=null, bool $friends=false) | |
Resolves and pushes collection breadcrumbs for a container. More... | |
elgg_push_breadcrumb | ( | string | $text, |
string|false | $href = false |
||
) |
Breadcrumbs.
Adds a breadcrumb to the breadcrumbs stack.
string | $text | The title to display. During rendering this is HTML encoded. |
false | string | $href | Optional. The href for the title. During rendering links are normalized via elgg_normalize_url(). |
Definition at line 16 of file breadcrumbs.php.
elgg_push_collection_breadcrumbs | ( | string | $entity_type, |
string | $entity_subtype, | ||
\ElggEntity | $container = null , |
||
bool | $friends = false |
||
) |
Resolves and pushes collection breadcrumbs for a container.
string | $entity_type | Entity type in the collection |
string | $entity_subtype | Entity subtype in the collection |
ElggEntity | null | $container | Container/page owner entity |
bool | $friends | Collection belongs to container's friends? |
Definition at line 57 of file breadcrumbs.php.
elgg_push_entity_breadcrumbs | ( | \ElggEntity | $entity | ) |
Resolves and pushes entity breadcrumbs based on named routes.
\ElggEntity | $entity | Entity |
Definition at line 33 of file breadcrumbs.php.