Function __global->wiki_breadcrumbs
Definitions
sources/wiki.php
- Convert a Wiki+ chain to a nice breadcrumb trail.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$chain | string | required parameter | N/A | N/A | The chain to convert (which should include the current page ID) |
$current_title | ?string | Null | N/A | N/A | The title of the current Wiki+ page (if not given, it is looked up) (null: work it out) |
$final_link | boolean | False | N/A | N/A | Whether to show the final breadcrumbs element with a link to it (all others will always have links if $links is true) |
$links | boolean | True | N/A | N/A | Whether to show links to pages in the breadcrumbs |
$this_link_virtual_root | boolean | False | N/A | N/A | Whether to make the link as a virtual-root link (only applies if $final_link is true) |
Return
- Breadcrumbs
- Type: array
- Set: N/A
- Range: N/A